posted 17 years ago
Hi,
I have an hibernate query which uses the "IN" clause
WHERE LDRCHNL.lenderId = ? and LDRCHNL.channelId in ( ? )
here channelId is defined as long, if i hard code the values in the above query like
WHERE LDRCHNL.lenderId = ? and LDRCHNL.channelId in (1,2) it works good, but i want to pass the values inside IN dynamically. Could someone help me with this ?
Thanks,
Rajeev