Commit 90bfee79 authored by daryl herzmann's avatar daryl herzmann Committed by GitHub

OF-1304 Correct query builder syntax (#766)

parent c6091750
...@@ -178,7 +178,7 @@ public class JdbcPersistenceManager implements PersistenceManager { ...@@ -178,7 +178,7 @@ public class JdbcPersistenceManager implements PersistenceManager {
+ "ofMessageArchive.sentDate, " + "ofMessageArchive.sentDate, "
+ "ofMessageArchive.stanza, " + "ofMessageArchive.stanza, "
+ "ofMessageArchive.messageID " + "ofMessageArchive.messageID "
+ "FROM ofMessageArchive"; + "FROM ofMessageArchive WHERE 1 = 1";
public static final String SELECT_CONVERSATIONS_BY_OWNER = "SELECT DISTINCT ofConParticipant.conversationID FROM ofConParticipant WHERE " public static final String SELECT_CONVERSATIONS_BY_OWNER = "SELECT DISTINCT ofConParticipant.conversationID FROM ofConParticipant WHERE "
+ CONVERSATION_OWNER_JID + CONVERSATION_OWNER_JID
+ " = ?"; + " = ?";
......
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