2.10.2.1.2. JPQL Update and Delete Statements
Update and delete statements provide bulk operations over sets of entities. In BNF syntax, these operations are defined as:
-
update_statement ::= update_clause [where_clause]
-
delete_statement ::= delete_clause [where_clause]
The update and delete clauses determine the type of the entities to be updated or deleted.
The WHERE clause may be used to restrict the scope of the update or delete operation.
Update and delete statements are described further in JPQL Bulk Update and Delete.