JPA Method
in javax.persistence.criteria.Expression

Predicate in(
  Expression<Collection<?>> values
)


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