public class GroupedSchemaMigratorImpl extends AbstractSchemaMigrator
DatabaseMetaData.getTables(String, String, String, String[])
call
to retrieve all the database table in order to determine if all the Entity
have a mapped database tables.schemaFilter, tool
Constructor and Description |
---|
GroupedSchemaMigratorImpl(HibernateSchemaManagementTool tool,
SchemaFilter schemaFilter) |
Modifier and Type | Method and Description |
---|---|
protected NameSpaceTablesInformation |
performTablesMigration(Metadata metadata,
DatabaseInformation existingDatabase,
ExecutionOptions options,
Dialect dialect,
Formatter formatter,
Set<String> exportIdentifiers,
boolean tryToCreateCatalogs,
boolean tryToCreateSchemas,
Set<Identifier> exportedCatalogs,
Namespace namespace,
GenerationTarget[] targets) |
applyForeignKeys, applyIndexes, applySqlStrings, applyUniqueKeys, checkExportIdentifier, createSchemaAndCatalog, createTable, doMigration, migrateTable, setUniqueConstraintStrategy
public GroupedSchemaMigratorImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter)
protected NameSpaceTablesInformation performTablesMigration(Metadata metadata, DatabaseInformation existingDatabase, ExecutionOptions options, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, GenerationTarget[] targets)
performTablesMigration
in class AbstractSchemaMigrator
Copyright © 2017 JBoss by Red Hat. All rights reserved.