Interface JdbcMigration


public interface JdbcMigration
Interface to be implemented by Jdbc Java Migrations. By default the migration version and description will be extracted from the class name. The checksum of this migration (for validation) will also be null, unless the migration also implements the MigrationChecksumProvider, in which case it can be returned programmatically.

When the JdbcMigration implements ConfigurationAware, the master MigrationConfig is automatically injected upon creation, which is useful for getting placeholder and schema information.

Author:
Roland Praml, FOCONIS AG
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    migrate(Connection connection)
    Execute the migration using the connection.
  • Method Details

    • migrate

      void migrate(Connection connection)
      Execute the migration using the connection.