|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.migration.Migration
com.googlecode.flyway.core.migration.java.JavaMigrationExecutor
public class JavaMigrationExecutor
Adapter for executing migrations implementing JavaMigration.
| Field Summary |
|---|
| Fields inherited from class com.googlecode.flyway.core.migration.Migration |
|---|
checksum, description, schemaVersion, script |
| Constructor Summary | |
|---|---|
JavaMigrationExecutor(JavaMigration javaMigration)
Creates a new JavaMigrationExecutor. |
|
| Method Summary | |
|---|---|
MigrationType |
getMigrationType()
|
void |
migrate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
DbSupport dbSupport)
Performs the migration. |
| Methods inherited from class com.googlecode.flyway.core.migration.Migration |
|---|
compareTo, getChecksum, getDescription, getScript, getVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaMigrationExecutor(JavaMigration javaMigration)
javaMigration - The JavaMigration to execute.| Method Detail |
|---|
public MigrationType getMigrationType()
getMigrationType in class Migration
public void migrate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
DbSupport dbSupport)
throws org.springframework.dao.DataAccessException
Migration
migrate in class MigrationjdbcTemplate - To execute the migration statements.dbSupport - The support for database-specific extensions.
org.springframework.dao.DataAccessException - Thrown when the migration failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||