Class IndividuallySchemaMigratorImpl
- java.lang.Object
-
- org.hibernate.tool.schema.internal.AbstractSchemaMigrator
-
- org.hibernate.tool.schema.internal.IndividuallySchemaMigratorImpl
-
- All Implemented Interfaces:
SchemaMigrator
public class IndividuallySchemaMigratorImpl extends AbstractSchemaMigrator
This implementation executes oneDatabaseMetaData.getTables(String, String, String, String[])
call for eachEntity
in order to determine if a corresponding database table exists.
-
-
Field Summary
-
Fields inherited from class org.hibernate.tool.schema.internal.AbstractSchemaMigrator
schemaFilter, tool
-
-
Constructor Summary
Constructors Constructor Description IndividuallySchemaMigratorImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NameSpaceTablesInformation
performTablesMigration(Metadata metadata, DatabaseInformation existingDatabase, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext context, GenerationTarget[] targets)
-
Methods inherited from class org.hibernate.tool.schema.internal.AbstractSchemaMigrator
applyForeignKeys, applyIndexes, applySqlStrings, applyUniqueKeys, checkExportIdentifier, createSchemaAndCatalog, createTable, doMigration, migrateTable, setUniqueConstraintStrategy
-
-
-
-
Constructor Detail
-
IndividuallySchemaMigratorImpl
public IndividuallySchemaMigratorImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter)
-
-
Method Detail
-
performTablesMigration
protected NameSpaceTablesInformation performTablesMigration(Metadata metadata, DatabaseInformation existingDatabase, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext context, GenerationTarget[] targets)
- Specified by:
performTablesMigration
in classAbstractSchemaMigrator
-
-