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 ofstyle clause.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:LockingSupportAccess to details about the locking capabilities of a Dialect.- Specified by:
getMetadatain interfaceLockingSupport
-
getPessimisticLockStyle
Description copied from interface:LockingSupport.MetadataThe PessimisticLockStyle supported by this Dialect.- Specified by:
getPessimisticLockStylein interfaceLockingSupport.Metadata- See Also:
-
getWriteRowLockStrategy
Description copied from interface:LockingSupport.MetadataThe strategy for indicating which rows to lock as part of afor update ofstyle clause.- Specified by:
getWriteRowLockStrategyin interfaceLockingSupport.Metadata
-
getLockTimeoutType
Description copied from interface:LockingSupport.MetadataHow (if) this Dialect supports the given timeout value.- Specified by:
getLockTimeoutTypein interfaceLockingSupport.Metadata- See Also:
-
getOuterJoinLockingType
Description copied from interface:LockingSupport.MetadataThe type of support for outer joins with pessimistic locking.- Specified by:
getOuterJoinLockingTypein interfaceLockingSupport.Metadata
-
getConnectionLockTimeoutStrategy
Description copied from interface:LockingSupportAccess to the delegate which can be used for applying lock timeouts using the JDBC connection, generally via execution of a command/statement.- Specified by:
getConnectionLockTimeoutStrategyin interfaceLockingSupport
-