Class MySQLConnection

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

public class MySQLConnection extends org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
  • Constructor Details

  • Method Details

    • doRestoreOriginalState

      protected void doRestoreOriginalState() throws SQLException
      Overrides:
      doRestoreOriginalState in class org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
      Throws:
      SQLException
    • getCurrentSchemaNameOrSearchPath

      protected String getCurrentSchemaNameOrSearchPath() throws SQLException
      Specified by:
      getCurrentSchemaNameOrSearchPath in class org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
      Throws:
      SQLException
    • doChangeCurrentSchemaOrSearchPathTo

      public void doChangeCurrentSchemaOrSearchPathTo(String schema) throws SQLException
      Overrides:
      doChangeCurrentSchemaOrSearchPathTo in class org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
      Throws:
      SQLException
    • doGetCurrentSchema

      protected org.flywaydb.core.internal.database.base.Schema doGetCurrentSchema() throws SQLException
      Overrides:
      doGetCurrentSchema in class org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
      Throws:
      SQLException
    • getSchema

      public org.flywaydb.core.internal.database.base.Schema getSchema(String name)
      Specified by:
      getSchema in class org.flywaydb.core.internal.database.base.Connection<MySQLDatabase>
    • lock

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

      protected boolean canUseNamedLockTemplate()