Class MySQLLockingSupport
java.lang.Object
org.hibernate.dialect.lock.internal.MySQLLockingSupport
- All Implemented Interfaces:
LockingSupport,LockingSupport.Metadata
LockingSupport for MySQLDialect
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface org.hibernate.dialect.lock.spi.LockingSupport
LockingSupport.Metadata -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConnectionLockTimeoutStrategystatic final LockingSupport -
Constructor Summary
Constructors -
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 strategy for indicating which rows to lock as part of afor update ofstyle clause.booleanWhether the Dialect supports specifying no-wait via query options.booleanWhether the Dialect supports specifying a skip-locked via query options.booleanWhether the Dialect supports supplying specific lock timeout wait period via query options (e.g.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
getPessimisticLockStyle, getReadRowLockStrategy, supportsForUpdate
-
Field Details
-
MYSQL_CONN_LOCK_TIMEOUT_STRATEGY
-
MYSQL_LOCKING_SUPPORT
-
-
Constructor Details
-
MySQLLockingSupport
public MySQLLockingSupport() -
MySQLLockingSupport
-
-
Method Details
-
getMetadata
Description copied from interface:LockingSupportAccess to details about the locking capabilities of a Dialect.- Specified by:
getMetadatain interfaceLockingSupport
-
getLockTimeoutType
Description copied from interface:LockingSupport.MetadataHow (if) this Dialect supports the given timeout value.- Specified by:
getLockTimeoutTypein interfaceLockingSupport.Metadata- See Also:
-
supportsWait
public boolean supportsWait()Description copied from interface:LockingSupport.MetadataWhether the Dialect supports supplying specific lock timeout wait period via query options (e.g.for update (of)- Specified by:
supportsWaitin interfaceLockingSupport.Metadata- See Also:
-
supportsNoWait
public boolean supportsNoWait()Description copied from interface:LockingSupport.MetadataWhether the Dialect supports specifying no-wait via query options.- Specified by:
supportsNoWaitin interfaceLockingSupport.Metadata- See Also:
-
supportsSkipLocked
public boolean supportsSkipLocked()Description copied from interface:LockingSupport.MetadataWhether the Dialect supports specifying a skip-locked via query options.- Specified by:
supportsSkipLockedin 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
-
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
-