public class SchemaMigratorImpl extends Object implements SchemaMigrator
Constructor and Description |
---|
SchemaMigratorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
doMigration(Metadata metadata,
DatabaseInformation existingDatabase,
boolean createNamespaces,
List<Target> targets)
Perform a migration to the specified targets.
|
protected void |
doMigrationToTargets(Metadata metadata,
DatabaseInformation existingDatabase,
boolean createNamespaces,
List<Target> targets) |
public void doMigration(Metadata metadata, DatabaseInformation existingDatabase, boolean createNamespaces, List<Target> targets) throws SchemaManagementException
SchemaMigrator
doMigration
in interface SchemaMigrator
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
protected void doMigrationToTargets(Metadata metadata, DatabaseInformation existingDatabase, boolean createNamespaces, List<Target> targets)
Copyright © 2016 JBoss by Red Hat. All rights reserved.