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

public Class IndividuallySchemaMigratorImpl

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 one java.sql.DatabaseMetaData#getTables(String, String, String, String[]) call for each javax.persistence.Entity in order to determine if a corresponding database table exists.

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

IndividuallySchemaMigratorImplback to summary
public IndividuallySchemaMigratorImpl(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