Class TiDBLockingSupport
java.lang.Object
org.hibernate.community.dialect.lock.internal.TiDBLockingSupport
- All Implemented Interfaces:
org.hibernate.dialect.lock.spi.LockingSupport, org.hibernate.dialect.lock.spi.LockingSupport.Metadata
public class TiDBLockingSupport
extends Object
implements org.hibernate.dialect.lock.spi.LockingSupport, org.hibernate.dialect.lock.spi.LockingSupport.Metadata
-
Nested Class Summary
Nested classes/interfaces declared in interface org.hibernate.dialect.lock.spi.LockingSupport
org.hibernate.dialect.lock.spi.LockingSupport.Metadata -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategystatic final TiDBLockingSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategyorg.hibernate.dialect.lock.spi.LockingSupport.Metadataorg.hibernate.dialect.lock.spi.OuterJoinLockingTypeMethods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface org.hibernate.dialect.lock.spi.LockingSupport.Metadata
getLockTimeoutType, getPessimisticLockStyle, getReadRowLockStrategy, getWriteRowLockStrategy, supportsForUpdate, supportsNoWait, supportsSkipLocked, supportsWait
-
Field Details
-
MYSQL_CONN_LOCK_TIMEOUT_STRATEGY
public static final org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategy MYSQL_CONN_LOCK_TIMEOUT_STRATEGY -
TIDB_LOCKING_SUPPORT
-
-
Constructor Details
-
TiDBLockingSupport
public TiDBLockingSupport()
-
-
Method Details
-
getMetadata
public org.hibernate.dialect.lock.spi.LockingSupport.Metadata getMetadata()- Specified by:
getMetadatain interfaceorg.hibernate.dialect.lock.spi.LockingSupport
-
getOuterJoinLockingType
public org.hibernate.dialect.lock.spi.OuterJoinLockingType getOuterJoinLockingType()- Specified by:
getOuterJoinLockingTypein interfaceorg.hibernate.dialect.lock.spi.LockingSupport.Metadata
-
getConnectionLockTimeoutStrategy
public org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategy getConnectionLockTimeoutStrategy()- Specified by:
getConnectionLockTimeoutStrategyin interfaceorg.hibernate.dialect.lock.spi.LockingSupport
-