Package org.hibernate.dialect.lock
package org.hibernate.dialect.lock
Support for
Dialect
-specific locking strategies.- See Also:
-
ClassDescriptionBase
LockingStrategy
implementation to support implementations based on issuing SQLSELECT
statements.A strategy abstraction for how locks are obtained in the underlying database.Represents an error trying to apply aLockingStrategy
to an entityRepresents an error trying to apply an optimisticLockingStrategy
to an entityAn optimistic locking strategy that verifies that the version has not changed and then forces an increment of the version, just before committing the transaction.An optimistic locking strategy that simply verifies that the version has not changed, just before committing the transaction.Represents an error trying to apply a pessimisticLockingStrategy
to an entityA pessimistic locking strategy where a lock is obtained by incrementing the version immediately, obtaining an exclusive write lock by side effect.A pessimistic locking strategy whereLockMode.PESSIMISTIC_READ
is obtained via a select statement.A pessimistic locking strategy where a lock is obtained via an update statement.A pessimistic locking strategy whereLockMode.PESSIMISTIC_WRITE
lock is obtained via a select statement.A pessimistic locking strategy where a lock is obtained via an update statement.A locking strategy where an optimistic lock is obtained via a select statement.A locking strategy where a lock is obtained via an update statement.