Class DefaultHibernateConfigurator

  • All Implemented Interfaces:
    com.atlassian.config.db.HibernateConfigurator

    public class DefaultHibernateConfigurator
    extends Object
    implements com.atlassian.config.db.HibernateConfigurator
    • Constructor Detail

      • DefaultHibernateConfigurator

        public DefaultHibernateConfigurator()
    • Method Detail

      • configureDatabase

        public void configureDatabase​(com.atlassian.config.db.DatabaseDetails dbDetails,
                                      boolean embedded)
                               throws com.atlassian.config.ConfigurationException
        Specified by:
        configureDatabase in interface com.atlassian.config.db.HibernateConfigurator
        Throws:
        com.atlassian.config.ConfigurationException
      • populateDatabaseProperties

        protected Properties populateDatabaseProperties​(com.atlassian.config.db.DatabaseDetails dbDetails)
      • configureDatasource

        public void configureDatasource​(String datasourceName,
                                        String dialect)
                                 throws com.atlassian.config.ConfigurationException
        Specified by:
        configureDatasource in interface com.atlassian.config.db.HibernateConfigurator
        Throws:
        com.atlassian.config.ConfigurationException
      • unconfigureDatabase

        public void unconfigureDatabase()
        Specified by:
        unconfigureDatabase in interface com.atlassian.config.db.HibernateConfigurator