Class ConfluenceHibernateSchemaManagementTool
java.lang.Object
org.hibernate.tool.schema.internal.HibernateSchemaManagementTool
com.atlassian.confluence.impl.hibernate.ConfluenceHibernateSchemaManagementTool
- All Implemented Interfaces:
Serializable,org.hibernate.service.Service,org.hibernate.service.spi.ServiceRegistryAwareService,org.hibernate.tool.schema.spi.SchemaManagementTool
public class ConfluenceHibernateSchemaManagementTool
extends org.hibernate.tool.schema.internal.HibernateSchemaManagementTool
A hibernate 5 (onwards) SchemaManagementTool implementation that:
- Suppresses unnecessary sql warning log messages
- Since:
- 6.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool
org.hibernate.tool.schema.internal.HibernateSchemaManagementTool.JdbcContextImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.tool.schema.spi.SchemaCreatorgetSchemaCreator(Map options) org.hibernate.tool.schema.spi.SchemaDroppergetSchemaDropper(Map options) org.hibernate.tool.schema.spi.SchemaMigratorgetSchemaMigrator(Map options) org.hibernate.tool.schema.internal.exec.JdbcContextresolveJdbcContext(Map configurationValues) Suppress schema creation warnings, including things like: - logWarning SQL Warning Code: 0, SQLState: 00000 - logWarning table "attachmentdata" does not exist, skippingMethods inherited from class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool
getDdlTransactionIsolator, getExtractionTool, getSchemaValidator, getServiceRegistry, injectServices, setCustomDatabaseGenerationTarget
-
Constructor Details
-
ConfluenceHibernateSchemaManagementTool
public ConfluenceHibernateSchemaManagementTool()
-
-
Method Details
-
getSchemaCreator
- Specified by:
getSchemaCreatorin interfaceorg.hibernate.tool.schema.spi.SchemaManagementTool- Overrides:
getSchemaCreatorin classorg.hibernate.tool.schema.internal.HibernateSchemaManagementTool
-
getSchemaDropper
- Specified by:
getSchemaDropperin interfaceorg.hibernate.tool.schema.spi.SchemaManagementTool- Overrides:
getSchemaDropperin classorg.hibernate.tool.schema.internal.HibernateSchemaManagementTool
-
getSchemaMigrator
- Specified by:
getSchemaMigratorin interfaceorg.hibernate.tool.schema.spi.SchemaManagementTool- Overrides:
getSchemaMigratorin classorg.hibernate.tool.schema.internal.HibernateSchemaManagementTool
-
resolveJdbcContext
public org.hibernate.tool.schema.internal.exec.JdbcContext resolveJdbcContext(Map configurationValues) Suppress schema creation warnings, including things like: - logWarning SQL Warning Code: 0, SQLState: 00000 - logWarning table "attachmentdata" does not exist, skipping- Overrides:
resolveJdbcContextin classorg.hibernate.tool.schema.internal.HibernateSchemaManagementTool
-