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
Readerof the specified SQL script.
-
getBootstrapReader
Reader getBootstrapReader()- Returns:
- A
Readerof the bootstrap SQL script.
-
getOnAbortReader
Reader getOnAbortReader()- Returns:
- A
Readerof the onabort SQL script.
-