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
  • Field Details

    • MYSQL_CONN_LOCK_TIMEOUT_STRATEGY

      public static final org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategy MYSQL_CONN_LOCK_TIMEOUT_STRATEGY
    • TIDB_LOCKING_SUPPORT

      public static final TiDBLockingSupport TIDB_LOCKING_SUPPORT
  • Constructor Details

    • TiDBLockingSupport

      public TiDBLockingSupport()
  • Method Details

    • getMetadata

      public org.hibernate.dialect.lock.spi.LockingSupport.Metadata getMetadata()
      Specified by:
      getMetadata in interface org.hibernate.dialect.lock.spi.LockingSupport
    • getLockTimeoutType

      public org.hibernate.dialect.lock.spi.LockTimeoutType getLockTimeoutType(Timeout timeout)
      Specified by:
      getLockTimeoutType in interface org.hibernate.dialect.lock.spi.LockingSupport.Metadata
    • getOuterJoinLockingType

      public org.hibernate.dialect.lock.spi.OuterJoinLockingType getOuterJoinLockingType()
      Specified by:
      getOuterJoinLockingType in interface org.hibernate.dialect.lock.spi.LockingSupport.Metadata
    • getConnectionLockTimeoutStrategy

      public org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategy getConnectionLockTimeoutStrategy()
      Specified by:
      getConnectionLockTimeoutStrategy in interface org.hibernate.dialect.lock.spi.LockingSupport