Class TiDBDatabase

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

public class TiDBDatabase extends org.flywaydb.database.mysql.MySQLDatabase
  • Field Summary

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

    configuration, databaseType, jdbcConnectionFactory, jdbcMetaData, jdbcTemplate, rawMainJdbcConnection, statementInterceptor
  • Constructor Summary

    Constructors
    Constructor
    Description
    TiDBDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.flywaydb.database.mysql.MySQLConnection
     
    void
    ensureSupported(org.flywaydb.core.api.configuration.Configuration configuration)
     
    protected boolean
     

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

    catalogIsSchema, determineVersion, doGetCurrentUser, getBooleanFalse, getBooleanTrue, getCloseQuote, getConstraintName, getOpenQuote, getRawCreateScript, isWsrepOn, supportsDdlTransactions, useSingleConnection

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

    cleanPostSchemas, cleanPreSchemas, close, computeVersionDisplayName, disposeEventConnection, doCleanPostSchemas, doCleanPreSchemas, doGetCatalog, doQuote, ensureDatabaseIsRecentEnough, ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition, getAllSchemas, getBaselineStatement, getCatalog, getConfiguration, getCreateScript, getCurrentUser, getDatabaseType, getDefaultDelimiter, getDeleteStatement, getEscapedQuote, getEventConnection, getInsertStatement, getInstalledBy, getJdbcMetaData, getMainConnection, getMigrationConnection, getSelectStatement, getUpdateStatement, getVersion, hasEventConnection, notifyDatabaseIsNotFormallySupported, quote, recommendFlywayUpgradeIfNecessary, recommendFlywayUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription, supportsMultiStatementTransactions, unQuote

    Methods inherited from class java.lang.Object

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

    • TiDBDatabase

      public TiDBDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
  • Method Details

    • doGetConnection

      protected org.flywaydb.database.mysql.MySQLConnection doGetConnection(Connection connection)
      Overrides:
      doGetConnection in class org.flywaydb.database.mysql.MySQLDatabase
    • isCreateTableAsSelectAllowed

      protected boolean isCreateTableAsSelectAllowed()
      Overrides:
      isCreateTableAsSelectAllowed in class org.flywaydb.database.mysql.MySQLDatabase
    • ensureSupported

      public void ensureSupported(org.flywaydb.core.api.configuration.Configuration configuration)
      Overrides:
      ensureSupported in class org.flywaydb.database.mysql.MySQLDatabase