Package org.apache.ibatis.migration
Interface MigrationLoader
- All Known Implementing Classes:
FileMigrationLoader
,JavaMigrationLoader
public interface MigrationLoader
-
Method Summary
-
Method Details
-
getMigrations
- Returns:
- A list of migrations (bootstrap should NOT be included).
-
getScriptReader
- Parameters:
change
- identifies the migration to read.undo
- whether the caller requests UNDO SQL script or not.- Returns:
- A
Reader
of the specified SQL script.
-
getBootstrapReader
Reader getBootstrapReader()- Returns:
- A
Reader
of the bootstrap SQL script.
-
getOnAbortReader
Reader getOnAbortReader()- Returns:
- A
Reader
of the onabort SQL script.
-