24.2.62. @OptimisticLocking
The @OptimisticLocking
annotation is used to specify the current annotated an entity optimistic locking strategy.
</div>
The four possible strategies are defined by the OptimisticLockType
enumeration:
</div>
The implicit optimistic locking mechanism is disabled.
</dd>
The implicit optimistic locking mechanism is using a dedicated version column.
</dd>
The implicit optimistic locking mechanism is using all attributes as part of an expanded WHERE clause restriction for the UPDATE
and DELETE
SQL statements.
</dd>
The implicit optimistic locking mechanism is using the dirty attributes (the attributes that were modified) as part of an expanded WHERE clause restriction for the UPDATE
and DELETE
SQL statements.
</dd> </dl> </div>