geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r473003 - /geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/OrderDataBean.java
Date Thu, 09 Nov 2006 18:23:47 GMT
Author: djencks
Date: Thu Nov  9 10:23:46 2006
New Revision: 473003

URL: http://svn.apache.org/viewvc?view=rev&rev=473003
Log:
fix typo in query

Modified:
    geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/OrderDataBean.java

Modified: geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/OrderDataBean.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/OrderDataBean.java?view=diff&rev=473003&r1=473002&r2=473003
==============================================================================
--- geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/OrderDataBean.java
(original)
+++ geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/OrderDataBean.java
Thu Nov  9 10:23:46 2006
@@ -44,7 +44,7 @@
         "                    o.orderStatus = 'closed' AND " +
         "                    o.account.profile.userID  = :userID"),
          @NamedQuery(name="completeClosedOrders",
-         query="UPDATE orderejb o SET o.orderStatus = completed' WHERE " +
+         query="UPDATE orderejb o SET o.orderStatus = 'completed' WHERE " +
         "                    o.orderStatus = 'closed' AND " +
         "                    o.account.profile.userID  = :userID")
         })



Mime
View raw message