Commit a8e5bf5c authored by Ivan A. Shmakov's avatar Ivan A. Shmakov

Update JdbcPersistenceManager.java

parent eb4371d7
...@@ -629,6 +629,7 @@ public class JdbcPersistenceManager implements PersistenceManager { ...@@ -629,6 +629,7 @@ public class JdbcPersistenceManager implements PersistenceManager {
} }
} }
querySB.append(" )"); querySB.append(" )");
querySB.append(SELECT_CONVERSATIONS_GROUP_BY);
querySB.append(" ORDER BY ").append(CONVERSATION_END_TIME); querySB.append(" ORDER BY ").append(CONVERSATION_END_TIME);
Connection con = null; Connection con = null;
...@@ -687,6 +688,8 @@ public class JdbcPersistenceManager implements PersistenceManager { ...@@ -687,6 +688,8 @@ public class JdbcPersistenceManager implements PersistenceManager {
} }
} }
querySB.append(SELECT_CONVERSATIONS_GROUP_BY);
try { try {
con = DbConnectionManager.getConnection(); con = DbConnectionManager.getConnection();
pstmt = con.prepareStatement(querySB.toString()); pstmt = con.prepareStatement(querySB.toString());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment