[jboss-cvs] jboss-seam/examples/contactlist/resources/WEB-INF ...
Gavin King
gavin.king at jboss.com
Sun Aug 26 17:22:21 EDT 2007
User: gavin
Date: 07/08/26 17:22:21
Modified: examples/contactlist/resources/WEB-INF components.xml
Log:
JBSEAM-1864
Revision Changes Path
1.22 +2 -2 jboss-seam/examples/contactlist/resources/WEB-INF/components.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: components.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/contactlist/resources/WEB-INF/components.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- components.xml 26 Jun 2007 23:04:03 -0000 1.21
+++ components.xml 26 Aug 2007 21:22:21 -0000 1.22
@@ -37,8 +37,8 @@
<fwk:ejbql>from Contact</fwk:ejbql>
<fwk:order>lastName</fwk:order>
<fwk:restrictions>
- <value>lower(firstName) like lower( #{exampleContact.firstName} + '%' )</value>
- <value>lower(lastName) like lower( #{exampleContact.lastName} + '%' )</value>
+ <value>lower(firstName) like lower( concat( #{exampleContact.firstName}, '%' ) )</value>
+ <value>lower(lastName) like lower( concat( #{exampleContact.lastName}, '%' ) )</value>
</fwk:restrictions>
</fwk:entity-query>
More information about the jboss-cvs-commits
mailing list