public class DefaultHibernateConfigurator extends Object implements com.atlassian.config.db.HibernateConfigurator
Constructor and Description |
---|
DefaultHibernateConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
configureDatabase(com.atlassian.config.db.DatabaseDetails dbDetails,
boolean embedded) |
void |
configureDatasource(String datasourceName,
String dialect) |
static void |
createBambooSchema() |
protected String |
getH2DbName() |
void |
refreshSpringContextAndCreateDatabase(Map<String,String> properties) |
void |
unconfigureDatabase() |
public void configureDatabase(com.atlassian.config.db.DatabaseDetails dbDetails, boolean embedded) throws com.atlassian.config.ConfigurationException
configureDatabase
in interface com.atlassian.config.db.HibernateConfigurator
com.atlassian.config.ConfigurationException
protected String getH2DbName()
public void configureDatasource(String datasourceName, String dialect) throws com.atlassian.config.ConfigurationException
configureDatasource
in interface com.atlassian.config.db.HibernateConfigurator
com.atlassian.config.ConfigurationException
public void unconfigureDatabase()
unconfigureDatabase
in interface com.atlassian.config.db.HibernateConfigurator
public void refreshSpringContextAndCreateDatabase(Map<String,String> properties) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
public static void createBambooSchema()
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.