com.googlecode.flyway.sample.migration
Class V1_2__Another_user

java.lang.Object
  extended by com.googlecode.flyway.core.migration.Migration
      extended by com.googlecode.flyway.core.migration.BaseMigration
          extended by com.googlecode.flyway.core.migration.java.BaseJavaMigration
              extended by com.googlecode.flyway.sample.migration.V1_2__Another_user
All Implemented Interfaces:
java.lang.Comparable<Migration>

public class V1_2__Another_user
extends BaseJavaMigration

Example of a Java-based migration.


Field Summary
 
Fields inherited from class com.googlecode.flyway.core.migration.Migration
checksum, schemaVersion, script
 
Constructor Summary
V1_2__Another_user()
           
 
Method Summary
protected  void doMigrateInTransaction(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
           
 
Methods inherited from class com.googlecode.flyway.core.migration.java.BaseJavaMigration
getMigrationType, migrate
 
Methods inherited from class com.googlecode.flyway.core.migration.BaseMigration
initVersion
 
Methods inherited from class com.googlecode.flyway.core.migration.Migration
compareTo, getChecksum, getScript, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

V1_2__Another_user

public V1_2__Another_user()
Method Detail

doMigrateInTransaction

protected void doMigrateInTransaction(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
                               throws java.lang.Exception
Specified by:
doMigrateInTransaction in class BaseJavaMigration
Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.