Jakarta Persistence (JPA) Method

Predicate isNotMember(
  E elem,
  Expression<C> collection
)


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
collection - expression
Returns:
is-not-member predicate.
Since:
Jakarta Persistence (JPA) 1.0