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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfluenceHibernateSchemaManagementTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.tool.schema.spi.SchemaCreator
getSchemaCreator(Map options)
org.hibernate.tool.schema.spi.SchemaDropper
getSchemaDropper(Map options)
org.hibernate.tool.schema.spi.SchemaMigrator
getSchemaMigrator(Map options)
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
-
-
-
Method Detail
-
getSchemaCreator
public org.hibernate.tool.schema.spi.SchemaCreator getSchemaCreator(Map options)
- Specified by:
getSchemaCreator
in interfaceorg.hibernate.tool.schema.spi.SchemaManagementTool
- Overrides:
getSchemaCreator
in classorg.hibernate.tool.schema.internal.HibernateSchemaManagementTool
-
getSchemaDropper
public org.hibernate.tool.schema.spi.SchemaDropper getSchemaDropper(Map options)
- Specified by:
getSchemaDropper
in interfaceorg.hibernate.tool.schema.spi.SchemaManagementTool
- Overrides:
getSchemaDropper
in classorg.hibernate.tool.schema.internal.HibernateSchemaManagementTool
-
getSchemaMigrator
public org.hibernate.tool.schema.spi.SchemaMigrator getSchemaMigrator(Map options)
- Specified by:
getSchemaMigrator
in interfaceorg.hibernate.tool.schema.spi.SchemaManagementTool
- Overrides:
getSchemaMigrator
in 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:
resolveJdbcContext
in classorg.hibernate.tool.schema.internal.HibernateSchemaManagementTool
-
-