isEmpty(collection) - JPA CriteriaBuilder's method
Method javax.persistence.criteria.CriteriaBuilder
Predicate isEmpty(
Expression<C> collection
)
Create a predicate that tests whether a collection is empty.
- Parameters:
-
collection
- expression
- Returns:
- is-empty predicate
- Since:
- JPA 2.0