com.atlassian.confluence.core.persistence.hibernate
Class ConfluenceHibernateConfig
java.lang.Object
com.atlassian.config.db.HibernateConfig
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateConfig
public final class ConfluenceHibernateConfig
- extends com.atlassian.config.db.HibernateConfig
Hibernate configuration for Confluence.
Fields inherited from class com.atlassian.config.db.HibernateConfig |
HIBERNATE_CONFIG_PREFIX, HIBERNATE_SETUP |
Methods inherited from class com.atlassian.config.db.HibernateConfig |
booleanRequiresSubstitution, isHibernateSetup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceHibernateConfig
public ConfluenceHibernateConfig()
getHibernateProperties
public java.util.Properties getHibernateProperties()
- Overrides:
getHibernateProperties
in class com.atlassian.config.db.HibernateConfig
isOracleDialect
public static boolean isOracleDialect(java.lang.String dialect)
isSqlServerDialect
public static boolean isSqlServerDialect(java.lang.String dialect)
isDb2Dialect
public static boolean isDb2Dialect(java.lang.String dialect)
isHsqlDialect
public static boolean isHsqlDialect(java.lang.String dialect)
isMySqlDialect
public static boolean isMySqlDialect(java.lang.String dialect)
isPostgreSqlDialect
public static boolean isPostgreSqlDialect(java.lang.String dialect)
isDb2
public boolean isDb2()
- Overrides:
isDb2
in class com.atlassian.config.db.HibernateConfig
isSqlServer
public boolean isSqlServer()
- Overrides:
isSqlServer
in class com.atlassian.config.db.HibernateConfig
isPostgreSql
public boolean isPostgreSql()
- Overrides:
isPostgreSql
in class com.atlassian.config.db.HibernateConfig
isMySql
public boolean isMySql()
- Overrides:
isMySql
in class com.atlassian.config.db.HibernateConfig
isOracle
public boolean isOracle()
- Overrides:
isOracle
in class com.atlassian.config.db.HibernateConfig
isHSQL
public boolean isHSQL()
- Overrides:
isHSQL
in class com.atlassian.config.db.HibernateConfig
uniqueAllowsMultipleNullValues
public boolean uniqueAllowsMultipleNullValues()
- Overrides:
uniqueAllowsMultipleNullValues
in class com.atlassian.config.db.HibernateConfig
- Returns:
- true if the current database allows multiple null values to be inserted in a column on which there is
a unique constraint.
uniqueAllowsAnyNullValues
public boolean uniqueAllowsAnyNullValues()
- Overrides:
uniqueAllowsAnyNullValues
in class com.atlassian.config.db.HibernateConfig
- Returns:
- true if the current database allows unique constraints over columns that can contain null values. The
null values may or may not be treated like they are unique.
- See Also:
uniqueAllowsMultipleNullValues()
setApplicationConfig
public void setApplicationConfig(com.atlassian.config.ApplicationConfiguration applicationConfiguration)
- Overrides:
setApplicationConfig
in class com.atlassian.config.db.HibernateConfig
getApplicationConfig
public com.atlassian.config.ApplicationConfiguration getApplicationConfig()
- Overrides:
getApplicationConfig
in class com.atlassian.config.db.HibernateConfig
Copyright © 2003-2014 Atlassian. All Rights Reserved.