Class H2LockingSupport
java.lang.Object
org.hibernate.dialect.lock.internal.H2LockingSupport
- All Implemented Interfaces:
LockingSupport
,LockingSupport.Metadata
LockingSupport for H2Dialect
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.dialect.lock.spi.LockingSupport
LockingSupport.Metadata
-
Field Summary
Fields -
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.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
getPessimisticLockStyle, getReadRowLockStrategy, getWriteRowLockStrategy, supportsForUpdate, supportsNoWait, supportsSkipLocked, supportsWait
-
Field Details
-
LEGACY_INSTANCE
-
INSTANCE
-
-
Method Details
-
getMetadata
Description copied from interface:LockingSupport
Access to details about the locking capabilities of a Dialect.- Specified by:
getMetadata
in interfaceLockingSupport
-
getOuterJoinLockingType
Description copied from interface:LockingSupport.Metadata
The type of support for outer joins with pessimistic locking.- Specified by:
getOuterJoinLockingType
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:
-
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
-