I have a requirement that my JPA query is something like:

Code:
select A from A a where A.b IN (:aCollectionOrArrayOrWhatever)
Is this legal ? (I think not)
In that case what is the best move here ?

Thanks.