james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1139595 - /james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/JPAMailbox.java
Date Sat, 25 Jun 2011 19:10:07 GMT
Author: norman
Date: Sat Jun 25 19:10:06 2011
New Revision: 1139595

URL: http://svn.apache.org/viewvc?rev=1139595&view=rev
Log:
Fix bug in query

Modified:
    james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/JPAMailbox.java

Modified: james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/JPAMailbox.java
URL: http://svn.apache.org/viewvc/james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/JPAMailbox.java?rev=1139595&r1=1139594&r2=1139595&view=diff
==============================================================================
--- james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/JPAMailbox.java
(original)
+++ james/mailbox/trunk/jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/JPAMailbox.java
Sat Jun 25 19:10:06 2011
@@ -52,9 +52,9 @@ import org.apache.james.mailbox.store.ma
     @NamedQuery(name="listMailboxes",
         query="SELECT mailbox FROM Mailbox mailbox"),
     @NamedQuery(name="findHighestModSeq",
-        query="SELECT mailbox.highestModSeq FROM Mailbox mailbox WHERE mailbox.mailbox.mailboxId
= :idParam"),
+        query="SELECT mailbox.highestModSeq FROM Mailbox mailbox WHERE mailbox.mailboxId
= :idParam"),
     @NamedQuery(name="findLastUid",
-        query="SELECT mailbox.lastUid FROM Mailbox mailbox WHERE mailbox.mailbox.mailboxId
= :idParam")
+        query="SELECT mailbox.lastUid FROM Mailbox mailbox WHERE mailbox.mailboxId = :idParam")
 })
 public class JPAMailbox implements Mailbox<Long> {
     



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message