ObjectDB ObjectDB

isNotEmpty(collection) - JPA CriteriaBuilder's method

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