Interface CriteriaUpdate<T>

Type Parameters:
T - the entity type that is the target of the update
All Superinterfaces:
CommonAbstractCriteria

public interface CriteriaUpdate<T> extends CommonAbstractCriteria
The CriteriaUpdate interface defines functionality for performing bulk update operations using the Criteria API.

Criteria API bulk update operations map directly to database update operations, bypassing any optimistic locking checks. Portable applications using bulk update operations must manually update the value of the version column, if desired, and/or manually validate the value of the version column. The persistence context is not automatically synchronized with the result of the bulk update.

A CriteriaUpdate object must have a single root.

Since:
2.1