How do I use the WHERE IN clause in an OQL-Query?
I just tried the following:

oql = db.getOQLQuery( "SELECT p FROM Product p WHERE
p.number IN ( '$1', '$2') ");
oql.bind( first);
oql.bind(second);
...
but this doesn't work. Is the IN - clause already
supported? Can anybody help me?

Thanx a lot!

Alex


__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to