Package org.flywaydb.core.api.migration

## Interface Context

-     public interface Context

  The context relevant to a Java-based migration.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Configuration` | `getConfiguration()` |
    `java.sql.Connection` | `getConnection()` |

- - ### Method Detail

    - #### getConfiguration

          Configuration getConfiguration()

      Returns:
        The configuration currently in use.

    - #### getConnection

          java.sql.Connection getConnection()

      Returns:
        The JDBC connection being used. Transaction are managed by Flyway. When the context is passed to the migrate method, a transaction will already have been started if required and will be automatically committed or rolled back afterwards, unless the canExecuteInTransaction method has been implemented to return false.