JPA Method
in javax.persistence.criteria.Expression

Predicate in(
  Collection<?> values
)


Create a predicate to test whether the expression is a member of the collection.
Parameters:
values - collection of values to be tested against
Return:
predicate testing for membership
Since:
JPA 2.0