This content has been marked as final.
Show 2 replies
-
1. Re: LIKE problem with CMP and declared-sql
roberto72 Aug 3, 2004 4:40 AM (in response to roberto72)Post error:
where="idA LIKE '%{0}%'"
is
where="info LIKE '%{0}%'" -
2. Re: LIKE problem with CMP and declared-sql
roberto72 Aug 3, 2004 6:26 AM (in response to roberto72)Auto-resolved! ;)
Solution:
* @jboss.declared-sql signature="java.util.Collection findByInfo(java.lang.String info)"
* where="info LIKE '%' || {0} || '%'"
* strategy="on-find"