Jakarta Persistence (JPA) Method

Query createQuery(
  CriteriaUpdate<?> updateQuery
)


Create an instance of Query for executing a criteria update query.
Parameters:
updateQuery - a criteria update query object
Returns:
the new query instance.
Throws:
IllegalArgumentException - if the update query is found to be invalid.
Since:
Jakarta Persistence (JPA) 2.1