Top Description 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.ContributableMatcher, .ExecutionOptions, .SchemaFilter

This implementation executes one java.sql.DatabaseMetaData#getTables(String, String, String, String[]) call for each jakarta.persistence.Entity in order to determine if a corresponding database table exists.
Author
Andrea Boriero

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, ContributableMatcher contributableInclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext context, GenerationTarget[] targets)

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

Deprecated as a consequence of Metadata being deprecated.
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, ContributableMatcher contributableInclusionFilter, Dialect dialect, Formatter formatter, Set<String> exportIdentifiers, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext context, GenerationTarget[] targets)

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

Deprecated

as a consequence of Metadata being deprecated. See corresponding docs for further information.

Annotations
@Override