Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Filter argument as collection

Avatar

Level 1

Hi, I'm trying to create a query on the Data Modeler in Flash Builder to retrieve some elements from an entity in this case is Client which have a clientId, basically I'm creating a filter with this query: jpql:Select c from Client as c Where c.clientId in (:IDs) but I don't know how to specify that the IDs query argument is going to be a collection, array or something like that, I tried using IDs as a string and passing the formated string like this 1,2,3 but it gives me a Cast error. Any thoughts on how to handle this?

0 Replies