Commit fa6022e0 authored by daryl herzmann's avatar daryl herzmann Committed by akrherz

OF-1304 Correct query builder syntax (#766)

parent 6fb94d7f
...@@ -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