- All Superinterfaces:
MigrationChecksumProvider
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 TypeMethodDescriptiondefault intReturn the checksum for the given migration.voidmigrate(Connection connection) Execute the migration using the connection.
-
Method Details
-
migrate
Execute the migration using the connection. -
getChecksum
default int getChecksum()Description copied from interface:MigrationChecksumProviderReturn the checksum for the given migration.- Specified by:
getChecksumin interfaceMigrationChecksumProvider
-