select(expression) - JPA Subquery's method
Method javax.persistence.criteria.Subquery
Subquery<T> select(
Expression<T> expression
)
Specify the item that is to be returned as the subquery result. Replaces the previously specified selection, if any.
- Parameters:
-
expression
- expression specifying the item that is to be returned as the subquery result
- Returns:
- the modified subquery
- Since:
- JPA 2.0