public class ConfluenceHibernateConfig
extends com.atlassian.config.db.HibernateConfig
Constructor and Description |
---|
ConfluenceHibernateConfig() |
Modifier and Type | Method and Description |
---|---|
Properties |
getHibernateProperties() |
void |
setH2ClientConfig(com.google.common.base.Function<com.atlassian.h2.ServerView,String> h2ClientConfig) |
void |
setH2ServerLifecycle(com.atlassian.h2.ServerLifecycle h2ServerLifecycle) |
void |
setHsqlClientConfig(com.google.common.base.Function<com.atlassian.hsqldb.ServerView,String> hsqlClientConfig) |
void |
setHsqlServerLifecycle(com.atlassian.hsqldb.ServerLifecycle hsqlServerLifecycle) |
protected boolean |
shouldRunH2Server(Properties prop) |
protected boolean |
shouldRunHsqlServer(Properties prop) |
boolean |
supportsIdentityColumns()
Return true if the current database supports identity columns.
|
boolean |
supportsSequences()
Return true if the current database supports sequences.
|
boolean |
uniqueAllowsAnyNullValues() |
boolean |
uniqueAllowsMultipleNullValues() |
booleanRequiresSubstitution, getApplicationConfig, isDb2, isDb2Dialect, isH2, isH2Dialect, isHibernateSetup, isHSQL, isHsqlDialect, isMySql, isMySqlDialect, isOracle, isOracleDialect, isPostgreSql, isPostgreSqlDialect, isSqlServer, isSqlServerDialect, setApplicationConfig
public Properties getHibernateProperties()
getHibernateProperties
in class com.atlassian.config.db.HibernateConfig
protected boolean shouldRunHsqlServer(Properties prop)
protected boolean shouldRunH2Server(Properties prop)
public boolean uniqueAllowsMultipleNullValues()
uniqueAllowsMultipleNullValues
in class com.atlassian.config.db.HibernateConfig
public boolean uniqueAllowsAnyNullValues()
uniqueAllowsAnyNullValues
in class com.atlassian.config.db.HibernateConfig
uniqueAllowsMultipleNullValues()
public boolean supportsIdentityColumns()
public boolean supportsSequences()
public void setHsqlServerLifecycle(com.atlassian.hsqldb.ServerLifecycle hsqlServerLifecycle)
public void setHsqlClientConfig(com.google.common.base.Function<com.atlassian.hsqldb.ServerView,String> hsqlClientConfig)
public void setH2ServerLifecycle(com.atlassian.h2.ServerLifecycle h2ServerLifecycle)
public void setH2ClientConfig(com.google.common.base.Function<com.atlassian.h2.ServerView,String> h2ClientConfig)
Copyright © 2003–2015 Atlassian. All rights reserved.