Package org.hibernate.dialect.lock
Class AbstractSelectLockingStrategy
java.lang.Object
org.hibernate.dialect.lock.AbstractSelectLockingStrategy
- All Implemented Interfaces:
LockingStrategy
- Direct Known Subclasses:
PessimisticReadSelectLockingStrategy,PessimisticWriteSelectLockingStrategy,SelectLockingStrategy
Base
LockingStrategy implementation to support implementations
based on issuing SQL SELECT statements-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSelectLockingStrategy(Lockable lockable, LockMode lockMode) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdetermineSql(int timeout) protected abstract StringgenerateLockString(int lockTimeout) protected Lockableprotected LockModeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.dialect.lock.LockingStrategy
lock
-
Constructor Details
-
AbstractSelectLockingStrategy
-
-
Method Details
-
getLockable
-
getLockMode
-
generateLockString
-
determineSql
-
getNoWaitSql
-