Hi all,

I don't know if this is the right place to ask. But, I don't know where 
else ;-).

Does anybody know if I can use some wildcard for integers in my EJB-QL 
query?

I have a query like this:

 * @ejb.finder
 *              signature="Collection 
findAllBySearchCriteria(java.lang.String edition, int week, int status, 
java.lang.String relno)"
 *              query="SELECT OBJECT(a) FROM Advertisement AS a WHERE 
a.edition = ?1 AND a.weekNo = ?2 AND a.status = ?3 and a.relationNo = ?4"

For strings I can use the '%' character as a wildcard. But what is this 
for integer values like week in my query?

Thanks,

Harm de Laat
Informatiefabriek



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to