JPA Methodin javax.persistence.criteria.CriteriaBuilderPredicate isEmpty( Expression<C> collection) Create a predicate that tests whether a collection is empty. Parameters:collection - expressionReturn: is-empty predicateSince:JPA 2.0