Class LockingSupportParameterized
java.lang.Object
org.hibernate.dialect.lock.internal.LockingSupportParameterized
- All Implemented Interfaces:
LockingSupport
,LockingSupport.Metadata
- Direct Known Subclasses:
DB2LockingSupport
,HANALockingSupport
,TransactSQLLockingSupport
public class LockingSupportParameterized
extends Object
implements LockingSupport, LockingSupport.Metadata
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.dialect.lock.spi.LockingSupport
LockingSupport.Metadata
-
Constructor Summary
ConstructorsConstructorDescriptionLockingSupportParameterized
(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, boolean supportsWait, boolean supportsNoWait, boolean supportsSkipLocked, OuterJoinLockingType outerJoinLockingType) LockingSupportParameterized
(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, LockTimeoutType waitType, LockTimeoutType noWaitType, LockTimeoutType skipLockedType, OuterJoinLockingType outerJoinLockingType) -
Method Summary
Modifier and TypeMethodDescriptionAccess to the delegate which can be used for applying lock timeouts using the JDBC connection, generally via execution of a command/statement.getLockTimeoutType
(Timeout timeout) How (if) this Dialect supports the given timeout value.Access to details about the locking capabilities of a Dialect.The type of support for outer joins with pessimistic locking.The PessimisticLockStyle supported by this Dialect.The strategy for indicating which rows to lock as part of afor update of
style clause.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.dialect.lock.spi.LockingSupport.Metadata
getReadRowLockStrategy, supportsForUpdate, supportsNoWait, supportsSkipLocked, supportsWait
-
Constructor Details
-
LockingSupportParameterized
public LockingSupportParameterized(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, LockTimeoutType waitType, LockTimeoutType noWaitType, LockTimeoutType skipLockedType, OuterJoinLockingType outerJoinLockingType) -
LockingSupportParameterized
public LockingSupportParameterized(PessimisticLockStyle pessimisticLockStyle, RowLockStrategy rowLockStrategy, boolean supportsWait, boolean supportsNoWait, boolean supportsSkipLocked, OuterJoinLockingType outerJoinLockingType)
-
-
Method Details
-
getMetadata
Description copied from interface:LockingSupport
Access to details about the locking capabilities of a Dialect.- Specified by:
getMetadata
in interfaceLockingSupport
-
getPessimisticLockStyle
Description copied from interface:LockingSupport.Metadata
The PessimisticLockStyle supported by this Dialect.- Specified by:
getPessimisticLockStyle
in interfaceLockingSupport.Metadata
- See Also:
-
getWriteRowLockStrategy
Description copied from interface:LockingSupport.Metadata
The strategy for indicating which rows to lock as part of afor update of
style clause.- Specified by:
getWriteRowLockStrategy
in interfaceLockingSupport.Metadata
-
getLockTimeoutType
Description copied from interface:LockingSupport.Metadata
How (if) this Dialect supports the given timeout value.- Specified by:
getLockTimeoutType
in interfaceLockingSupport.Metadata
- See Also:
-
getOuterJoinLockingType
Description copied from interface:LockingSupport.Metadata
The type of support for outer joins with pessimistic locking.- Specified by:
getOuterJoinLockingType
in interfaceLockingSupport.Metadata
-
getConnectionLockTimeoutStrategy
Description copied from interface:LockingSupport
Access to the delegate which can be used for applying lock timeouts using the JDBC connection, generally via execution of a command/statement.- Specified by:
getConnectionLockTimeoutStrategy
in interfaceLockingSupport
-