Top Description Methods
org.hibernate.tool.schema.spi

public Interface SchemaManagementTool

extends Service
Known Direct Implementers
org.hibernate.tool.schema.internal.HibernateSchemaManagementTool
Annotations
@Incubating
Imports
java.util.Map, org.hibernate.Incubating, org.hibernate.service.Service, org.hibernate.tool.schema.internal.exec.GenerationTarget, .JdbcContext

Contract for schema management tool integration.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public default GenerationTarget[]
buildGenerationTargets(TargetDescriptor targetDescriptor, JdbcContext jdbcContext, Map<String, Object> options, boolean needsAutoCommit)

Resolves the targets to which to send the DDL commands based on configuration

public ExtractionTool
public SchemaCreator
public SchemaDropper
public SchemaMigrator
public default SchemaTruncator
public SchemaValidator
public void
setCustomDatabaseGenerationTarget(GenerationTarget
the custom instance to use.
generationTarget
)

This allows to set an alternative implementation for the Database generation target.

Method Detail

buildGenerationTargetsback to summary
public default GenerationTarget[] buildGenerationTargets(TargetDescriptor targetDescriptor, JdbcContext jdbcContext, Map<String, Object> options, boolean needsAutoCommit)

Resolves the targets to which to send the DDL commands based on configuration

getExtractionToolback to summary
public ExtractionTool getExtractionTool()
getSchemaCreatorback to summary
public SchemaCreator getSchemaCreator(Map<String, Object> options)
getSchemaDropperback to summary
public SchemaDropper getSchemaDropper(Map<String, Object> options)
getSchemaMigratorback to summary
public SchemaMigrator getSchemaMigrator(Map<String, Object> options)
getSchemaTruncatorback to summary
public default SchemaTruncator getSchemaTruncator(Map<String, Object> options)
getSchemaValidatorback to summary
public SchemaValidator getSchemaValidator(Map<String, Object> options)
setCustomDatabaseGenerationTargetback to summary
public void setCustomDatabaseGenerationTarget(GenerationTarget generationTarget)

This allows to set an alternative implementation for the Database generation target. Used by Hibernate Reactive so that it can use the reactive database access rather than needing a JDBC connection.

Parameters
generationTarget:GenerationTarget

the custom instance to use.