Class 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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool

        org.hibernate.tool.schema.internal.HibernateSchemaManagementTool.JdbcContextImpl
    • 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
      • Methods inherited from class org.hibernate.tool.schema.internal.HibernateSchemaManagementTool

        getDdlTransactionIsolator, getExtractionTool, getSchemaValidator, getServiceRegistry, injectServices, setCustomDatabaseGenerationTarget
    • Constructor Detail

      • ConfluenceHibernateSchemaManagementTool

        public ConfluenceHibernateSchemaManagementTool()
    • Method Detail

      • 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