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) |
protected String |
getHsqlDbName() |
void |
refreshSpringContextAndCreateDatabase(Properties 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 getHsqlDbName()
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(Properties properties) throws com.atlassian.config.ConfigurationException
com.atlassian.config.ConfigurationException
Copyright © 2021 Atlassian. All rights reserved.