Uses of Interface
org.hibernate.dialect.lock.LockingStrategy
Packages that use LockingStrategy
Package
Description
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Support for
Dialect
-specific locking strategies.This package abstracts persistence mechanisms for entities.
-
Uses of LockingStrategy in org.hibernate.dialect
Methods in org.hibernate.dialect that return LockingStrategyModifier and TypeMethodDescriptionDialect.getLockingStrategy
(EntityPersister lockable, LockMode lockMode) ALockingStrategy
which is able to acquire a database-level lock with the specified level.DialectDelegateWrapper.getLockingStrategy
(EntityPersister lockable, LockMode lockMode) SpannerDialect.getLockingStrategy
(EntityPersister lockable, LockMode lockMode) -
Uses of LockingStrategy in org.hibernate.dialect.lock
Classes in org.hibernate.dialect.lock that implement LockingStrategyModifier and TypeClassDescriptionclass
BaseLockingStrategy
implementation to support implementations based on issuing SQLSELECT
statements.class
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
An optimistic locking strategy that simply verifies that the version has not changed, just before committing the transaction.class
A pessimistic locking strategy where a lock is obtained by incrementing the version immediately, obtaining an exclusive write lock by side effect.class
A pessimistic locking strategy whereLockMode.PESSIMISTIC_READ
is obtained via a select statement.class
A pessimistic locking strategy where a lock is obtained via an update statement.class
A pessimistic locking strategy whereLockMode.PESSIMISTIC_WRITE
lock is obtained via a select statement.class
A pessimistic locking strategy where a lock is obtained via an update statement.class
A locking strategy where an optimistic lock is obtained via a select statement.class
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 LockingStrategyModifier and TypeMethodDescriptionprotected LockingStrategy
AbstractEntityPersister.generateLocker
(LockMode lockMode)