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

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 jakarta.persistence.Entity have a mapped database tables.
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

GroupedSchemaMigratorImplback to summary
public GroupedSchemaMigratorImpl(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