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 for Dialect-specific locking strategiesorg.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 LockingStrategy
Dialect. getLockingStrategy(Lockable lockable, LockMode lockMode)
Get a strategy instance which knows how to acquire a database-level lock of the specified mode for this dialect.LockingStrategy
HSQLDialect. getLockingStrategy(Lockable lockable, LockMode lockMode)
For HSQLDB 2.0, this is a copy of the base class implementation.LockingStrategy
SpannerDialect. 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 class
AbstractSelectLockingStrategy
BaseLockingStrategy
implementation to support implementations based on issuingSQL
SELECT
statementsclass
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.class
OptimisticLockingStrategy
An optimistic locking strategy that simply verifies that the version has not changed, just before committing the transaction.class
PessimisticForceIncrementLockingStrategy
A pessimistic locking strategy where a lock is obtained by incrementing the version immediately, obtaining an exclusive write lock by side effect.class
PessimisticReadSelectLockingStrategy
A pessimistic locking strategy where a lock is obtained via a select statements.class
PessimisticReadUpdateLockingStrategy
A pessimistic locking strategy where a lock is obtained via an update statement.class
PessimisticWriteSelectLockingStrategy
A pessimistic locking strategy where a lock is obtained via a select statement.class
PessimisticWriteUpdateLockingStrategy
A pessimistic locking strategy where a lock is obtained via an update statement.class
SelectLockingStrategy
A locking strategy where a lock is obtained via a select statement.class
UpdateLockingStrategy
A 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 LockingStrategy
AbstractEntityPersister. generateLocker(LockMode lockMode)
-