Uses of Interface
org.hibernate.tool.schema.internal.exec.GenerationTarget
-
Packages that use GenerationTarget Package Description org.hibernate.testing.orm org.hibernate.tool.schema.internal An implementation of the SPI for the tooling related to DDL generation, export, migration, and validation.org.hibernate.tool.schema.internal.exec Support for exporting generated DDL to the database or to SQL scripts.org.hibernate.tool.schema.spi An SPI for the 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 Modifier and Type Class Description class
JournalingGenerationTarget
-
Uses of GenerationTarget in org.hibernate.tool.schema.internal
Methods in org.hibernate.tool.schema.internal that return GenerationTarget Modifier and Type Method Description protected GenerationTarget
HibernateSchemaManagementTool. buildDatabaseTarget(JdbcContext jdbcContext, boolean needsAutoCommit)
GenerationTarget[]
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 GenerationTarget Modifier and Type Method Description protected 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 testingprotected 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 GenerationTarget Modifier and Type Class Description class
GenerationTargetToDatabase
AGenerationTarget
which exports DDL directly to the database.class
GenerationTargetToScript
AGenerationTarget
that writes DDL to scripts.class
GenerationTargetToStdout
AGenerationTarget
that writed DDL toSystem.out
. -
Uses of GenerationTarget in org.hibernate.tool.schema.spi
Methods in org.hibernate.tool.schema.spi that return GenerationTarget Modifier and Type Method Description default 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 GenerationTarget Modifier and Type Method Description void
SchemaManagementTool. setCustomDatabaseGenerationTarget(GenerationTarget generationTarget)
This allows to set an alternative implementation for the Database generation target.
-