size(collection) - JPA CriteriaBuilder's method
Method javax.persistence.criteria.CriteriaBuilder
Expression<Integer> size(
C collection
)
Create an expression that tests the size of a collection.
- Parameters:
-
collection
- collection
- Returns:
- size expression
- Since:
- JPA 2.0