org.hibernate.dialect.Dialect -specific locking strategies.
org.hibernate.dialect.lock.LockingStrategy
| Modifier and Type | Interface and Description |
|---|---|
| public interface | LockingStrategy
A strategy abstraction for how locks are obtained in the underlying database. |
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractSelectLockingStrategy
Base |
| public abstract class | LockingStrategyException
Represents an error trying to apply a |
| public class | OptimisticEntityLockException
Represents an error trying to apply an optimistic |
| public class | OptimisticForceIncrementLockingStrategy
An optimistic locking strategy that verifies that the version has not changed and then forces an increment of the version, just before committing the transaction. |
| public class | OptimisticLockingStrategy
An optimistic locking strategy that simply verifies that the version has not changed, just before committing the transaction. |
| public class | PessimisticEntityLockException
Represents an error trying to apply a pessimistic |
| public class | PessimisticForceIncrementLockingStrategy
A pessimistic locking strategy where a lock is obtained by incrementing the version immediately, obtaining an exclusive write lock by side effect. |
| public class | PessimisticReadSelectLockingStrategy
A pessimistic locking strategy where a lock is obtained via a select statements. |
| public class | PessimisticReadUpdateLockingStrategy
A pessimistic locking strategy where a lock is obtained via an update statement. |
| public class | PessimisticWriteSelectLockingStrategy
A pessimistic locking strategy where a lock is obtained via a select statement. |
| public class | PessimisticWriteUpdateLockingStrategy
A pessimistic locking strategy where a lock is obtained via an update statement. |
| public class | SelectLockingStrategy
A locking strategy where a lock is obtained via a select statement. |
| public class | UpdateLockingStrategy
A locking strategy where a lock is obtained via an update statement. |