any(subquery) - JPA CriteriaBuilder's method

Create an any expression over the subquery results. This expression is equivalent to a some expression.
Parameters:
subquery - subquery
Returns:
any expression
Since:
JPA 2.0