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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.hibernate.tool.schema.spi.SchemaCreator
     
    org.hibernate.tool.schema.spi.SchemaDropper
     
    org.hibernate.tool.schema.spi.SchemaMigrator
     
    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

    Methods inherited from class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool

    getDdlTransactionIsolator, getExtractionTool, getSchemaValidator, getServiceRegistry, injectServices, setCustomDatabaseGenerationTarget

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfluenceHibernateSchemaManagementTool

      public ConfluenceHibernateSchemaManagementTool()
  • Method Details

    • getSchemaCreator

      public org.hibernate.tool.schema.spi.SchemaCreator getSchemaCreator(Map options)
      Specified by:
      getSchemaCreator in interface org.hibernate.tool.schema.spi.SchemaManagementTool
      Overrides:
      getSchemaCreator in class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool
    • getSchemaDropper

      public org.hibernate.tool.schema.spi.SchemaDropper getSchemaDropper(Map options)
      Specified by:
      getSchemaDropper in interface org.hibernate.tool.schema.spi.SchemaManagementTool
      Overrides:
      getSchemaDropper in class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool
    • getSchemaMigrator

      public org.hibernate.tool.schema.spi.SchemaMigrator getSchemaMigrator(Map options)
      Specified by:
      getSchemaMigrator in interface org.hibernate.tool.schema.spi.SchemaManagementTool
      Overrides:
      getSchemaMigrator in class org.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 class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool