Package org.hibernate.tool.schema.spi
Interface SchemaManagementTool
-
- All Superinterfaces:
Serializable,Service
@Incubating public interface SchemaManagementTool extends Service
Contract for schema management tool integration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.hibernate.tool.schema.internal.exec.GenerationTarget[]buildGenerationTargets(TargetDescriptor targetDescriptor, org.hibernate.tool.schema.internal.exec.JdbcContext jdbcContext, Map<String,Object> options, boolean needsAutoCommit)Resolves the targets to which to send the DDL commands based on configurationExtractionToolgetExtractionTool()SchemaCreatorgetSchemaCreator(Map<String,Object> options)SchemaDroppergetSchemaDropper(Map<String,Object> options)SchemaMigratorgetSchemaMigrator(Map<String,Object> options)default SchemaTruncatorgetSchemaTruncator(Map<String,Object> options)SchemaValidatorgetSchemaValidator(Map<String,Object> options)voidsetCustomDatabaseGenerationTarget(org.hibernate.tool.schema.internal.exec.GenerationTarget generationTarget)This allows to set an alternative implementation for the Database generation target.
-
-
-
Method Detail
-
getSchemaCreator
SchemaCreator getSchemaCreator(Map<String,Object> options)
-
getSchemaDropper
SchemaDropper getSchemaDropper(Map<String,Object> options)
-
getSchemaMigrator
SchemaMigrator getSchemaMigrator(Map<String,Object> options)
-
getSchemaValidator
SchemaValidator getSchemaValidator(Map<String,Object> options)
-
getSchemaTruncator
default SchemaTruncator getSchemaTruncator(Map<String,Object> options)
-
setCustomDatabaseGenerationTarget
void setCustomDatabaseGenerationTarget(org.hibernate.tool.schema.internal.exec.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- the custom instance to use.
-
getExtractionTool
ExtractionTool getExtractionTool()
-
buildGenerationTargets
default org.hibernate.tool.schema.internal.exec.GenerationTarget[] buildGenerationTargets(TargetDescriptor targetDescriptor, org.hibernate.tool.schema.internal.exec.JdbcContext jdbcContext, Map<String,Object> options, boolean needsAutoCommit)
Resolves the targets to which to send the DDL commands based on configuration
-
-