Uses of Interface
org.hibernate.dialect.lock.LockingStrategy
-
Packages that use LockingStrategy Package Description org.hibernate.dialect This package abstracts over the multifarious dialects of SQL understood by the databases supported by Hibernate.org.hibernate.dialect.lock Support forDialect-specific locking strategies.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities. -
-
Uses of LockingStrategy in org.hibernate.dialect
Methods in org.hibernate.dialect that return LockingStrategy Modifier and Type Method Description LockingStrategyDialect. getLockingStrategy(Lockable lockable, LockMode lockMode)ALockingStrategywhich is able to acquire a database-level lock with the specified level.LockingStrategyDialectDelegateWrapper. getLockingStrategy(Lockable lockable, LockMode lockMode)LockingStrategySpannerDialect. getLockingStrategy(Lockable lockable, LockMode lockMode) -
Uses of LockingStrategy in org.hibernate.dialect.lock
Classes in org.hibernate.dialect.lock that implement LockingStrategy Modifier and Type Class Description classAbstractSelectLockingStrategyBaseLockingStrategyimplementation to support implementations based on issuing SQLSELECTstatements.classOptimisticForceIncrementLockingStrategyAn optimistic locking strategy that verifies that the version has not changed and then forces an increment of the version, just before committing the transaction.classOptimisticLockingStrategyAn optimistic locking strategy that simply verifies that the version has not changed, just before committing the transaction.classPessimisticForceIncrementLockingStrategyA pessimistic locking strategy where a lock is obtained by incrementing the version immediately, obtaining an exclusive write lock by side effect.classPessimisticReadSelectLockingStrategyA pessimistic locking strategy whereLockMode.PESSIMISTIC_READis obtained via a select statement.classPessimisticReadUpdateLockingStrategyA pessimistic locking strategy where a lock is obtained via an update statement.classPessimisticWriteSelectLockingStrategyA pessimistic locking strategy whereLockMode.PESSIMISTIC_WRITElock is obtained via a select statement.classPessimisticWriteUpdateLockingStrategyA pessimistic locking strategy where a lock is obtained via an update statement.classSelectLockingStrategyA locking strategy where an optimistic lock is obtained via a select statement.classUpdateLockingStrategyA locking strategy where a lock is obtained via an update statement. -
Uses of LockingStrategy in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity that return LockingStrategy Modifier and Type Method Description protected LockingStrategyAbstractEntityPersister. generateLocker(LockMode lockMode)
-