ObjectDB ObjectDB

isNotMember(elem, collection) - JPA CriteriaBuilder's method

Create a predicate that tests whether an element is not a member of a collection. If the collection is empty, the predicate will be true.
Parameters:
elem - element expression
collection - expression
Returns:
is-not-member predicate
Since:
JPA 2.0