Class TiDBDatabase
java.lang.Object
migratedb.v1.core.internal.database.base.BaseDatabase<MySQLConnection>
migratedb.v1.core.internal.database.mysql.MySQLDatabase
migratedb.v1.core.internal.database.mysql.tidb.TiDBDatabase
- All Implemented Interfaces:
Closeable,AutoCloseable,Database<MySQLConnection>
-
Field Summary
Fields inherited from class migratedb.v1.core.internal.database.base.BaseDatabase
configuration, databaseType, jdbcConnectionFactory, jdbcMetaData, jdbcTemplate, rawMainJdbcConnection -
Constructor Summary
ConstructorsConstructorDescriptionTiDBDatabase(Configuration configuration, JdbcConnectionFactory jdbcConnectionFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected MySQLConnectiondoGetConnection(Connection connection) Retrieves a MigrateDB Connection for this JDBC connection.protected booleanMethods inherited from class migratedb.v1.core.internal.database.mysql.MySQLDatabase
catalogIsSchema, determineVersion, doGetCurrentUser, ensureSupported, getBooleanFalse, getBooleanTrue, getCloseQuote, getConstraintName, getOpenQuote, getRawCreateScript, supportsChangingCurrentSchema, supportsDdlTransactions, useSingleConnectionMethods inherited from class migratedb.v1.core.internal.database.base.BaseDatabase
cleanPostSchemas, cleanPreSchemas, close, computeVersionDisplayName, doCleanPostSchemas, doCleanPreSchemas, doGetCatalog, doQuote, ensureDatabaseIsRecentEnough, getAllSchemas, getBaselineStatement, getCatalog, getCreateScript, getCurrentUser, getDatabaseType, getDefaultDelimiter, getEscapedQuote, getInsertStatement, getInstalledBy, getJdbcMetaData, getMainConnection, getMigrationConnection, getSelectStatement, getVersion, quote, recommendMigrateDbUpgradeIfNecessary, recommendMigrateDbUpgradeIfNecessaryForMajorVersion, supportsEmptyMigrationDescription, supportsMultiStatementTransactions, unQuote
-
Constructor Details
-
TiDBDatabase
-
-
Method Details
-
doGetConnection
Description copied from class:BaseDatabaseRetrieves a MigrateDB Connection for this JDBC connection.- Overrides:
doGetConnectionin classMySQLDatabase
-
isCreateTableAsSelectAllowed
protected boolean isCreateTableAsSelectAllowed()- Overrides:
isCreateTableAsSelectAllowedin classMySQLDatabase
-