some(subquery) - JPA CriteriaBuilder's method

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