Class UpdateLockingStrategy

All Implemented Interfaces:
LockingStrategy

@Deprecated(since="7.2", forRemoval=true) public class UpdateLockingStrategy extends AbstractPessimisticUpdateLockingStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
No longer used
A locking strategy where a lock is obtained via an update statement.

This strategy is not valid for read style locks.

Since:
3.2
  • Constructor Details

    • UpdateLockingStrategy

      public UpdateLockingStrategy(EntityPersister lockable, LockMode lockMode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct a locking strategy based on SQL UPDATE statements.
      Parameters:
      lockable - The metadata for the entity to be locked.
      lockMode - Indicates the type of lock to be acquired. Note that read-locks are not valid for this strategy.
  • Method Details