Package org.hibernate.tool.schema.spi
Interface SchemaMigrator
- All Known Implementing Classes:
AbstractSchemaMigrator,GroupedSchemaMigratorImpl,IndividuallySchemaMigratorImpl
@Incubatingpublic interfaceSchemaMigrator
Service delegate for handling schema migration.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoMigration(Metadata metadata,ExecutionOptions options,ContributableMatcher contributableInclusionFilter,TargetDescriptor targetDescriptor)Perform a schema migration (alteration) from the indicated source(s) to the indicated target(s).
Method Detail
doMigration
void doMigration(Metadata metadata,ExecutionOptions options,ContributableMatcher contributableInclusionFilter,TargetDescriptor targetDescriptor)
Perform a schema migration (alteration) from the indicated source(s) to the indicated target(s).- Parameters:
metadata- Represents the schema to be altered.options- Options for executing the alterationcontributableInclusionFilter- Filter for Contributable instances to usetargetDescriptor- description of the target(s) for the alteration commands