Package migratedb.v1.core.api.executor
Interface Context
-
public interface ContextThe context relevant to a migration executor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigurationgetConfiguration()ConnectiongetConnection()
-
-
-
Method Detail
-
getConfiguration
Configuration getConfiguration()
- Returns:
- The configuration currently in use.
-
getConnection
Connection getConnection()
- Returns:
- The JDBC connection being used. Transaction are managed by MigrateDB. 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 afterward, unless the canExecuteInTransaction method has been implemented to return false.
-
-