Class OceanBaseDatabase

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

public class OceanBaseDatabase 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
    OceanBaseDatabase(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.core.api.MigrationVersion
     
    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, doGetCurrentUser, getBooleanFalse, getBooleanTrue, getCloseQuote, getConstraintName, getDatabaseHosting, 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

    • OceanBaseDatabase

      public OceanBaseDatabase(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
    • determineVersion

      protected org.flywaydb.core.api.MigrationVersion determineVersion()
      Overrides:
      determineVersion in class org.flywaydb.database.mysql.MySQLDatabase