Uses of Interface
org.hibernate.tool.schema.spi.GenerationTarget
Packages that use GenerationTarget
Package
Description
An implementation of the SPI for the tooling related to DDL generation, export, migration, and validation.
Support for exporting generated DDL to the database or to SQL scripts.
An SPI for tooling related to DDL generation, export, migration, and validation.
-
Uses of GenerationTarget in org.hibernate.testing.orm
Classes in org.hibernate.testing.orm that implement GenerationTarget -
Uses of GenerationTarget in org.hibernate.tool.schema.internal
Methods in org.hibernate.tool.schema.internal that return GenerationTargetModifier and TypeMethodDescriptionprotected GenerationTarget
HibernateSchemaManagementTool.buildDatabaseTarget
(JdbcContext jdbcContext, boolean needsAutoCommit) HibernateSchemaManagementTool.buildGenerationTargets
(TargetDescriptor targetDescriptor, JdbcContext jdbcContext, Map<String, Object> options, boolean needsAutoCommit) protected GenerationTarget
HibernateSchemaManagementTool.buildScriptTarget
(TargetDescriptor targetDescriptor, String scriptDelimiter) protected GenerationTarget
HibernateSchemaManagementTool.buildStdoutTarget
(String scriptDelimiter) Methods in org.hibernate.tool.schema.internal with parameters of type GenerationTargetModifier and TypeMethodDescriptionprotected void
AbstractSchemaMigrator.applyForeignKeys
(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) protected void
AbstractSchemaMigrator.applyIndexes
(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) static void
Helper.applyScript
(ExecutionOptions options, SqlScriptCommandExtractor commandExtractor, Dialect dialect, ScriptSourceInput scriptInput, Formatter formatter, GenerationTarget[] targets) static void
Helper.applySqlString
(String sqlString, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) protected static void
AbstractSchemaMigrator.applySqlStrings
(boolean quiet, String[] sqlStrings, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) static void
Helper.applySqlStrings
(String[] sqlStrings, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) protected void
AbstractSchemaMigrator.applyUniqueKeys
(Table table, TableInformation tableInfo, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) void
SchemaCreatorImpl.createFromMetadata
(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, GenerationTarget... targets) void
SchemaCreatorImpl.createFromMetadata
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionMatcher, Dialect dialect, Formatter formatter, GenerationTarget... targets) void
SchemaCreatorImpl.createFromScript
(ScriptSourceInput scriptSourceInput, SqlScriptCommandExtractor commandExtractor, Formatter formatter, Dialect dialect, ExecutionOptions options, GenerationTarget... targets) protected void
AbstractSchemaMigrator.createSchemaAndCatalog
(DatabaseInformation existingDatabase, ExecutionOptions options, Dialect dialect, Formatter formatter, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext context, GenerationTarget[] targets) protected void
AbstractSchemaMigrator.createTable
(Table table, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) void
SchemaCreatorImpl.doCreation
(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoid
SchemaCreatorImpl.doCreation
(Metadata metadata, Dialect dialect, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, GenerationTarget... targets) void
SchemaCreatorImpl.doCreation
(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoid
SchemaDropperImpl.doDrop
(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) For testsvoid
SchemaDropperImpl.doDrop
(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) For testsvoid
SchemaDropperImpl.doDrop
(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testingvoid
SchemaDropperImpl.doDrop
(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testingvoid
SchemaTruncatorImpl.doTruncate
(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoid
SchemaTruncatorImpl.doTruncate
(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoid
SchemaTruncatorImpl.doTruncate
(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, GenerationTarget... targets) protected void
AbstractSchemaMigrator.migrateTable
(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) protected abstract NameSpaceTablesInformation
AbstractSchemaMigrator.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 sqlGenerationContext, GenerationTarget[] targets) protected NameSpaceTablesInformation
GroupedSchemaMigratorImpl.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) protected NameSpaceTablesInformation
IndividuallySchemaMigratorImpl.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) void
HibernateSchemaManagementTool.setCustomDatabaseGenerationTarget
(GenerationTarget generationTarget) -
Uses of GenerationTarget in org.hibernate.tool.schema.internal.exec
Classes in org.hibernate.tool.schema.internal.exec that implement GenerationTargetModifier and TypeClassDescriptionclass
AGenerationTarget
which exports DDL directly to the database.class
AGenerationTarget
that writes DDL to scripts.class
AGenerationTarget
that writed DDL toSystem.out
. -
Uses of GenerationTarget in org.hibernate.tool.schema.spi
Methods in org.hibernate.tool.schema.spi that return GenerationTargetModifier and TypeMethodDescriptiondefault GenerationTarget[]
SchemaManagementTool.buildGenerationTargets
(TargetDescriptor targetDescriptor, JdbcContext jdbcContext, Map<String, Object> options, boolean needsAutoCommit) Resolves the targets to which to send the DDL commands based on configurationMethods in org.hibernate.tool.schema.spi with parameters of type GenerationTargetModifier and TypeMethodDescriptionvoid
SchemaManagementTool.setCustomDatabaseGenerationTarget
(GenerationTarget generationTarget) This allows to set an alternative implementation for the Database generation target.