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 inherited from interface org.hibernate.dialect.lock.spi.LockingSupport

    org.hibernate.dialect.lock.spi.LockingSupport.Metadata
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final TiDBLockingSupport
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.dialect.lock.spi.ConnectionLockTimeoutStrategy
     
    org.hibernate.dialect.lock.spi.LockTimeoutType
     
    org.hibernate.dialect.lock.spi.LockingSupport.Metadata
     
    org.hibernate.dialect.lock.spi.OuterJoinLockingType
     

    Methods inherited from class 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

  • 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