Class DB2Connection

java.lang.Object
org.flywaydb.core.internal.database.base.Connection<DB2Database>
org.flywaydb.database.db2.DB2Connection
All Implemented Interfaces:
Closeable, AutoCloseable

public class DB2Connection extends org.flywaydb.core.internal.database.base.Connection<DB2Database>
DB2 connection.
  • Method Details

    • getCurrentSchemaNameOrSearchPath

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

      public void doChangeCurrentSchemaOrSearchPathTo(String schema) throws SQLException
      Overrides:
      doChangeCurrentSchemaOrSearchPathTo in class org.flywaydb.core.internal.database.base.Connection<DB2Database>
      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<DB2Database>