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.tool.schema.internal
Methods in org.hibernate.tool.schema.internal that return GenerationTargetModifier and TypeMethodDescriptionprotected GenerationTargetHibernateSchemaManagementTool.buildDatabaseTarget(JdbcContext jdbcContext, boolean needsAutoCommit) HibernateSchemaManagementTool.buildGenerationTargets(TargetDescriptor targetDescriptor, JdbcContext jdbcContext, Map<String, Object> options, boolean needsAutoCommit) protected GenerationTargetHibernateSchemaManagementTool.buildScriptTarget(TargetDescriptor targetDescriptor, String scriptDelimiter) protected GenerationTargetHibernateSchemaManagementTool.buildStdoutTarget(String scriptDelimiter) Methods in org.hibernate.tool.schema.internal with parameters of type GenerationTargetModifier and TypeMethodDescriptionprotected voidAbstractSchemaMigrator.applyForeignKeys(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) protected voidAbstractSchemaMigrator.applyIndexes(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) static voidHelper.applyScript(ExecutionOptions options, SqlScriptCommandExtractor commandExtractor, Dialect dialect, ScriptSourceInput scriptInput, Formatter formatter, GenerationTarget[] targets) static voidHelper.applySqlString(String sqlString, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) protected static voidAbstractSchemaMigrator.applySqlStrings(boolean quiet, String[] sqlStrings, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) static voidHelper.applySqlStrings(String[] sqlStrings, Formatter formatter, ExecutionOptions options, GenerationTarget... targets) protected voidAbstractSchemaMigrator.applyUniqueKeys(Table table, TableInformation tableInfo, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) voidSchemaCreatorImpl.createFromMetadata(Metadata metadata, ExecutionOptions options, Dialect dialect, Formatter formatter, GenerationTarget... targets) voidSchemaCreatorImpl.createFromMetadata(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionMatcher, Dialect dialect, Formatter formatter, GenerationTarget... targets) voidSchemaCreatorImpl.createFromScript(ScriptSourceInput scriptSourceInput, SqlScriptCommandExtractor commandExtractor, Formatter formatter, Dialect dialect, ExecutionOptions options, GenerationTarget... targets) protected voidAbstractSchemaMigrator.createSchemaAndCatalog(DatabaseInformation existingDatabase, ExecutionOptions options, Dialect dialect, Formatter formatter, boolean tryToCreateCatalogs, boolean tryToCreateSchemas, Set<Identifier> exportedCatalogs, Namespace namespace, SqlStringGenerationContext context, GenerationTarget[] targets) protected voidAbstractSchemaMigrator.createTable(Table table, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) voidSchemaCreatorImpl.doCreation(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoidSchemaCreatorImpl.doCreation(Metadata metadata, Dialect dialect, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, SourceDescriptor sourceDescriptor, GenerationTarget... targets) voidSchemaCreatorImpl.doCreation(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) Intended for use from testsvoidSchemaDropperImpl.doDrop(Metadata metadata, boolean manageNamespaces, GenerationTarget... targets) For testsvoidSchemaDropperImpl.doDrop(Metadata metadata, ServiceRegistry serviceRegistry, Map<String, Object> settings, boolean manageNamespaces, GenerationTarget... targets) For testsvoidSchemaDropperImpl.doDrop(Metadata metadata, ExecutionOptions options, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testingvoidSchemaDropperImpl.doDrop(Metadata metadata, ExecutionOptions options, ContributableMatcher inclusionFilter, Dialect dialect, SourceDescriptor sourceDescriptor, GenerationTarget... targets) For use from testingvoidSchemaPopulatorImpl.doPopulation(Dialect dialect, ExecutionOptions options, GenerationTarget... targets) voidSchemaTruncatorImpl.doTruncate(Metadata metadata, ExecutionOptions options, ContributableMatcher contributableInclusionFilter, Dialect dialect, GenerationTarget... targets) protected voidAbstractSchemaMigrator.migrateTable(Table table, TableInformation tableInformation, Dialect dialect, Metadata metadata, Formatter formatter, ExecutionOptions options, SqlStringGenerationContext sqlGenerationContext, GenerationTarget... targets) protected abstract NameSpaceTablesInformationAbstractSchemaMigrator.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 NameSpaceTablesInformationGroupedSchemaMigratorImpl.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 NameSpaceTablesInformationIndividuallySchemaMigratorImpl.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) voidHibernateSchemaManagementTool.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 TypeClassDescriptionclassAGenerationTargetwhich exports DDL directly to the database.classAGenerationTargetthat writes DDL to scripts.classAGenerationTargetthat 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 TypeMethodDescriptionvoidSchemaManagementTool.setCustomDatabaseGenerationTarget(GenerationTarget generationTarget) This allows to set an alternative implementation for the Database generation target.