Hi,
I want to implement a search for all names that begin with 'Sm'.
Monson-Haefel claims this is impossible using EJB QL on a CMP field.
What does this mean?

It seems to be easy to build queries with a fixed pattern like

SELECT OBJECT(c) FROM Customer c WHERE c.lastName LIKE '%-%'

But how to do it if the pattern should be '%<user transmitted pattern>%'
where <user transmitted pattern> is something that I catch from the GUI of my client application?


Thanks in advance,
Carsten




------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to