Package org.hibernate.tool.schema.spi
Interface SchemaManagementTool
-
- All Superinterfaces:
Serializable
,Service
- All Known Implementing Classes:
HibernateSchemaManagementTool
public interface SchemaManagementTool extends Service
Contract for schema management tool integration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenerationTarget[]
buildGenerationTargets(TargetDescriptor targetDescriptor, JdbcContext jdbcContext, Map<String,Object> options, boolean needsAutoCommit)
Resolves the targets to which to send the DDL commands based on configurationExtractionTool
getExtractionTool()
SchemaCreator
getSchemaCreator(Map<String,Object> options)
SchemaDropper
getSchemaDropper(Map<String,Object> options)
SchemaMigrator
getSchemaMigrator(Map<String,Object> options)
SchemaTruncator
getSchemaTruncator(Map<String,Object> options)
SchemaValidator
getSchemaValidator(Map<String,Object> options)
void
setCustomDatabaseGenerationTarget(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
SchemaTruncator getSchemaTruncator(Map<String,Object> options)
-
setCustomDatabaseGenerationTarget
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
- the custom instance to use.
-
getExtractionTool
ExtractionTool getExtractionTool()
-
buildGenerationTargets
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
-
-