JPA Method
in javax.persistence.criteria.CriteriaBuilder

Expression<Integer> size(
  Expression<C> collection
)


Create an expression that tests the size of a collection.
Parameters:
collection - expression
Return:
size expression
Since:
JPA 2.0