Class DefaultHibernateConfigurator

java.lang.Object
com.atlassian.bamboo.setup.DefaultHibernateConfigurator
All Implemented Interfaces:
com.atlassian.config.db.HibernateConfigurator

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

    • DefaultHibernateConfigurator

      public DefaultHibernateConfigurator()
  • Method Details

    • 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
    • getH2DbName

      protected String getH2DbName()
    • 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
    • refreshSpringContextAndCreateDatabase

      public void refreshSpringContextAndCreateDatabase(Map<String,String> properties) throws com.atlassian.config.ConfigurationException
      Throws:
      com.atlassian.config.ConfigurationException
    • createBambooSchema

      public static void createBambooSchema()