[seam-commits] Seam SVN: r10733 - branches/community/Seam_2_1/examples/contactlist/resources/WEB-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Apr 30 14:42:30 EDT 2009


Author: norman.richards at jboss.com
Date: 2009-04-30 14:42:29 -0400 (Thu, 30 Apr 2009)
New Revision: 10733

Modified:
   branches/community/Seam_2_1/examples/contactlist/resources/WEB-INF/components.xml
Log:
JBSEAM-3032

Modified: branches/community/Seam_2_1/examples/contactlist/resources/WEB-INF/components.xml
===================================================================
--- branches/community/Seam_2_1/examples/contactlist/resources/WEB-INF/components.xml	2009-04-30 12:06:45 UTC (rev 10732)
+++ branches/community/Seam_2_1/examples/contactlist/resources/WEB-INF/components.xml	2009-04-30 18:42:29 UTC (rev 10733)
@@ -34,11 +34,11 @@
 
     <fwk:entity-query name="contacts" 
                max-results="5">
-        <fwk:ejbql>from Contact</fwk:ejbql>
+        <fwk:ejbql>select c from Contact c</fwk:ejbql>
         <fwk:order>lastName</fwk:order>
         <fwk:restrictions>
-            <value>lower(firstName) like lower( concat( #{exampleContact.firstName}, '%' ) )</value>
-            <value>lower(lastName) like lower( concat( #{exampleContact.lastName}, '%' ) )</value>
+            <value>lower(c.firstName) like lower( concat( #{exampleContact.firstName}, '%' ) )</value>
+            <value>lower(c.lastName) like lower( concat( #{exampleContact.lastName}, '%' ) )</value>
         </fwk:restrictions>
     </fwk:entity-query>
     




More information about the seam-commits mailing list