JPA Method
in javax.persistence.criteria.CriteriaBuilder

Expression<Integer> size(
  C collection
)


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