Class TiDBConnection

java.lang.Object
org.flywaydb.core.internal.database.base.Connection<org.flywaydb.database.mysql.MySQLDatabase>
org.flywaydb.database.mysql.MySQLConnection
org.flywaydb.community.database.mysql.tidb.TiDBConnection
All Implemented Interfaces:
Closeable, AutoCloseable

public class TiDBConnection extends org.flywaydb.database.mysql.MySQLConnection
  • Field Summary

    Fields inherited from class org.flywaydb.core.internal.database.base.Connection

    database, jdbcTemplate, originalSchemaNameOrSearchPath
  • Constructor Summary

    Constructors
    Constructor
    Description
    TiDBConnection(org.flywaydb.database.mysql.MySQLDatabase database, Connection connection)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    <T> T
    lock(org.flywaydb.core.internal.database.base.Table table, Callable<T> callable)
     

    Methods inherited from class org.flywaydb.database.mysql.MySQLConnection

    doChangeCurrentSchemaOrSearchPathTo, doGetCurrentSchema, doRestoreOriginalState, getCurrentSchemaNameOrSearchPath, getSchema

    Methods inherited from class org.flywaydb.core.internal.database.base.Connection

    changeCurrentSchemaTo, close, getCurrentSchema, getJdbcConnection, getJdbcTemplate, restoreOriginalState

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TiDBConnection

      public TiDBConnection(org.flywaydb.database.mysql.MySQLDatabase database, Connection connection)
  • Method Details

    • lock

      public <T> T lock(org.flywaydb.core.internal.database.base.Table table, Callable<T> callable)
      Overrides:
      lock in class org.flywaydb.database.mysql.MySQLConnection
    • canUseNamedLockTemplate

      protected boolean canUseNamedLockTemplate()
      Overrides:
      canUseNamedLockTemplate in class org.flywaydb.database.mysql.MySQLConnection