com.atlassian.config.db
Class HibernateConfig
java.lang.Object
com.atlassian.config.db.HibernateConfig
public class HibernateConfig
- extends Object
Wrapper around ApplicationConfiguration to provide easy access to Hibernate configuration info
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HIBERNATE_SETUP
public static final String HIBERNATE_SETUP
- See Also:
- Constant Field Values
HIBERNATE_CONFIG_PREFIX
public static final String HIBERNATE_CONFIG_PREFIX
- See Also:
- Constant Field Values
HibernateConfig
public HibernateConfig()
- Do not construct. Do not take orally. Consult a doctor if pain persists.
setApplicationConfig
public void setApplicationConfig(ApplicationConfiguration applicationConfiguration)
isHibernateSetup
public boolean isHibernateSetup()
getHibernateProperties
public Properties getHibernateProperties()
- Gets all hibernate properties from the config starting 'hibernate.'
- Returns:
- all hibernate properties in a Properties map
isMySql
public boolean isMySql()
- Since MySQL needs to be isolated from _real_ databases.
isOracle
public boolean isOracle()
isHSQL
public boolean isHSQL()