Class OceanBaseDatabaseType

java.lang.Object
org.flywaydb.core.internal.database.base.BaseDatabaseType
org.flywaydb.database.mysql.MySQLDatabaseType
org.flywaydb.community.database.oceanbase.OceanBaseDatabaseType
All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>, org.flywaydb.core.extensibility.Plugin, org.flywaydb.core.internal.database.base.CommunityDatabaseType, org.flywaydb.core.internal.database.DatabaseType

public class OceanBaseDatabaseType extends org.flywaydb.database.mysql.MySQLDatabaseType implements org.flywaydb.core.internal.database.base.CommunityDatabaseType
  • Field Summary

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

    APPLICATION_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.flywaydb.core.internal.database.base.Database
    createDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
     
     
    getDriverClass(String url, ClassLoader classLoader)
     
     
    int
     
    getPluginVersion(org.flywaydb.core.api.configuration.Configuration config)
     
    int
     
    boolean
    handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection)
     
    boolean
     

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

    createParser, getExternalAuthProperties, getSupportedEngines, instantiateClassExtendedErrorMessage, setDefaultConnectionProps

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

    alterConnectionAsNeeded, createExecutionStrategy, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, detectPasswordRequiredByUrl, detectUserRequiredByUrl, externalAuthPropertiesRequired, getDefaultJDBCCredentialsPattern, getJDBCCredentialsPattern, getJDBCCredentialsPatterns, getSelectVersionOutput, setConfigConnectionProps, setOverridingConnectionProps, shutdownDatabase, supportsReadOnlyTransactions, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.flywaydb.core.internal.database.base.CommunityDatabaseType

    announcementForCommunitySupport

    Methods inherited from interface org.flywaydb.core.internal.database.DatabaseType

    alterConnectionAsNeeded, createExecutionStrategy, createParser, createSqlScriptExecutorFactory, createSqlScriptFactory, createTransactionalExecutionTemplate, detectPasswordRequiredByUrl, detectUserRequiredByUrl, externalAuthPropertiesRequired, getExternalAuthProperties, getJDBCCredentialsPattern, getJDBCCredentialsPatterns, getSpecialResourceFilenames, getSupportedEngines, instantiateClassExtendedErrorMessage, setConfigConnectionProps, setDefaultConnectionProps, setEarlyConnectionProps, setOverridingConnectionProps, shutdownDatabase, supportsReadOnlyTransactions

    Methods inherited from interface org.flywaydb.core.extensibility.Plugin

    compareTo, copy, isEnabled, isLicensed
  • Constructor Details

    • OceanBaseDatabaseType

      public OceanBaseDatabaseType()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.flywaydb.core.internal.database.DatabaseType
      Specified by:
      getName in interface org.flywaydb.core.extensibility.Plugin
      Overrides:
      getName in class org.flywaydb.database.mysql.MySQLDatabaseType
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface org.flywaydb.core.extensibility.Plugin
    • getNullType

      public int getNullType()
      Specified by:
      getNullType in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      getNullType in class org.flywaydb.database.mysql.MySQLDatabaseType
    • handlesJDBCUrl

      public boolean handlesJDBCUrl(String url)
      Specified by:
      handlesJDBCUrl in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      handlesJDBCUrl in class org.flywaydb.database.mysql.MySQLDatabaseType
    • getDriverClass

      public String getDriverClass(String url, ClassLoader classLoader)
      Specified by:
      getDriverClass in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      getDriverClass in class org.flywaydb.database.mysql.MySQLDatabaseType
    • getBackupDriverClass

      public String getBackupDriverClass(String url, ClassLoader classLoader)
      Specified by:
      getBackupDriverClass in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      getBackupDriverClass in class org.flywaydb.database.mysql.MySQLDatabaseType
    • handlesDatabaseProductNameAndVersion

      public boolean handlesDatabaseProductNameAndVersion(String databaseProductName, String databaseProductVersion, Connection connection)
      Specified by:
      handlesDatabaseProductNameAndVersion in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      handlesDatabaseProductNameAndVersion in class org.flywaydb.database.mysql.MySQLDatabaseType
    • createDatabase

      public org.flywaydb.core.internal.database.base.Database createDatabase(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory jdbcConnectionFactory, org.flywaydb.core.internal.jdbc.StatementInterceptor statementInterceptor)
      Specified by:
      createDatabase in interface org.flywaydb.core.internal.database.DatabaseType
      Overrides:
      createDatabase in class org.flywaydb.database.mysql.MySQLDatabaseType
    • getPluginVersion

      public String getPluginVersion(org.flywaydb.core.api.configuration.Configuration config)
      Specified by:
      getPluginVersion in interface org.flywaydb.core.extensibility.Plugin