CriteriaUpdate<T> where(
Predicate... restrictions
)
Modify the update query to restrict the target of the update according to the conjunction of the specified restriction predicates. Replaces the previously added restriction(s), if any. If no restrictions are specified, any previously added restrictions are simply removed.
- Parameters:
restrictions
- zero or more restriction predicates
- Return:
- the modified update query
- Since:
- JPA 2.1