CriteriaUpdate<T> where(
  Expression<Boolean> restriction
)
 Modify the update query to restrict the target of the update according to the specified boolean expression. Replaces the previously added restriction(s), if any. 
- Parameters:
- restriction- a simple or compound boolean expression
- Return:
- the modified update query
- Since:
- JPA 2.1