Top Fields Constructors Methods
org.hibernate.tool.schema.internal

public Class GroupedSchemaMigratorImpl

extends AbstractSchemaMigrator
Class Inheritance
Imports
java.util.Set, org.hibernate.boot.Metadata, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.relational.Namespace, .SqlStringGenerationContext, org.hibernate.dialect.Dialect, org.hibernate.engine.jdbc.internal.Formatter, org.hibernate.mapping.Table, org.hibernate.tool.schema.extract.spi.DatabaseInformation, .NameSpaceTablesInformation, .TableInformation, org.hibernate.tool.schema.internal.exec.GenerationTarget, org.hibernate.tool.schema.spi.ExecutionOptions, .SchemaFilter

Author
Andrea Boriero This implementation executes a single java.sql.DatabaseMetaData#getTables(String, String, String, String[]) call to retrieve all the database table in order to determine if all the javax.persistence.Entity have a mapped database tables.

Field Summary

Inherited from org.hibernate.tool.schema.internal.AbstractSchemaMigrator:
schemaFiltertool

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod 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, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget[] targets)

Implements abstract org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performTablesMigration.

Inherited from org.hibernate.tool.schema.internal.AbstractSchemaMigrator:
applyForeignKeysapplyIndexesapplySqlStringsapplyUniqueKeyscheckExportIdentifiercreateSchemaAndCatalogcreateTabledoMigrationequivalentForeignKeyExistsInDatabasemigrateTablesetUniqueConstraintStrategy

Constructor Detail

GroupedSchemaMigratorImplback to summary
public GroupedSchemaMigratorImpl(HibernateSchemaManagementTool tool, SchemaFilter schemaFilter)

Method Detail

performTablesMigrationback to summary
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, SqlStringGenerationContext sqlStringGenerationContext, GenerationTarget[] targets)

Implements abstract org.hibernate.tool.schema.internal.AbstractSchemaMigrator.performTablesMigration.

Annotations
@Override