hi all,

wanted to ask, how to use lists for binding.

i.e. is it possible to do something like that:

Colllection idValues = ?...;

String oql = "Select o from MyObject o Where o.id in $(list<int>)1";
OQLQuery query = db.getOQLQuery( oql );
query.bind( idValues );

...

this does not work for me... 
how are you doing selection of many possible values - is this only
possible by chained ORs?

thanks 

-- Jakob

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

Reply via email to