ObjectDB ObjectDB

isEmpty(collection) - JPA CriteriaBuilder's method

Create a predicate that tests whether a collection is empty.
Parameters:
collection - expression
Returns:
is-empty predicate
Since:
JPA 2.0