|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.init.DbInit
public class DbInit
Main workflow for migrating the database.
| Constructor Summary | |
|---|---|
DbInit(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
MetaDataTable metaDataTable)
Creates a new database migrator. |
|
| Method Summary | |
|---|---|
void |
init(SchemaVersion version,
java.lang.String description)
Initializes the metadata table with this version and this description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbInit(org.springframework.transaction.support.TransactionTemplate transactionTemplate,
MetaDataTable metaDataTable)
transactionTemplate - The transaction template to use.metaDataTable - The database metadata table.| Method Detail |
|---|
public void init(SchemaVersion version,
java.lang.String description)
throws InitException
version - The version to initialize the metadata table with.description - The description for the ionitial version.
InitException - when the initialization failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||