Package org.hibernate.tool.schema.spi
Interface SchemaManagementTool
- All Superinterfaces:
Serializable
,Service
- All Known Implementing Classes:
HibernateSchemaManagementTool
Contract for schema management tool integration.
-
Method Summary
Modifier and TypeMethodDescriptiondefault GenerationTarget[]
buildGenerationTargets
(TargetDescriptor targetDescriptor, JdbcContext jdbcContext, Map<String, Object> options, boolean needsAutoCommit) Resolves the targets to which to send the DDL commands based on configurationgetSchemaCreator
(Map<String, Object> options) getSchemaDropper
(Map<String, Object> options) getSchemaMigrator
(Map<String, Object> options) default SchemaTruncator
getSchemaTruncator
(Map<String, Object> options) getSchemaValidator
(Map<String, Object> options) void
setCustomDatabaseGenerationTarget
(GenerationTarget generationTarget) This allows to set an alternative implementation for the Database generation target.
-
Method Details
-
getSchemaCreator
-
getSchemaDropper
-
getSchemaMigrator
-
getSchemaValidator
-
getSchemaTruncator
-
setCustomDatabaseGenerationTarget
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 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
-