Jakarta Persistence (JPA) Method
CriteriaDelete<T> where(
Expression<Boolean> restriction
)
Modify the DELETE query to restrict the target of the deletion according to the specified boolean expression. Replaces the previously added restriction(s), if any.
- Parameters:
restriction- a simple or compound boolean expression
- Returns:
- the modified delete query.
- Since:
- Jakarta Persistence (JPA) 1.0