Subquery<T> where(
Expression<Boolean> restriction
)
Modify the subquery to restrict the result according to the specified boolean expression. Replaces the previously added restriction(s), if any. This method only overrides the return type of the corresponding
AbstractQuery
method. - Parameters:
restriction
- a simple or compound boolean expression
- Return:
- the modified subquery
- Since:
- JPA 2.0