JPA Methodin javax.persistence.criteria.CriteriaBuilderExpression<Integer> size( Expression<C> collection) Create an expression that tests the size of a collection. Parameters:collection - expressionReturn: size expressionSince:JPA 2.0