public interface SchemaMigrator
Modifier and Type | Method and Description |
---|---|
void |
doMigration(Metadata metadata,
DatabaseInformation existingDatabase,
boolean createNamespaces,
List<Target> targets)
Perform a migration to the specified targets.
|
void doMigration(Metadata metadata, DatabaseInformation existingDatabase, boolean createNamespaces, List<Target> targets) throws SchemaManagementException
metadata
- The "compiled" mapping metadata.existingDatabase
- Access to the information about the existing database.createNamespaces
- Should the schema(s)/catalog(s) actually be created?targets
- The migration targetsSchemaManagementException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.