@Deprecated public class ConfluenceHibernateConfig extends com.atlassian.config.db.HibernateConfig implements HibernateDatabaseCapabilities
Unfortunately the 'hibernate.query.substitutions' cannot be simply added to the database specific properties files as this would require an upgrade task that changes the configuration for existing installations. While it's easy enough to create an UpgradeTask that changes the configuration the upgrade task would need to reload the spring context as the LocalSessionFactoryBean is already instantiated at this point of the bootstrapping process. This is unfortunately too risky to be added to the release at this stage. See CONF-20081
HibernateDatabaseCapabilities.HibernateConfigAdapter
Modifier and Type | Field and Description |
---|---|
static String |
CIPHER_TYPE_PROP
Deprecated.
|
static String |
DIALECT_KEY
Deprecated.
since 7.6.0 use
AvailableSettings.DIALECT instead |
Constructor and Description |
---|
ConfluenceHibernateConfig()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
decryptPassword(@NotNull String password,
String decrypterClassName)
Deprecated.
|
com.atlassian.db.config.password.CipherProvider |
getCipherProvider()
Deprecated.
|
Properties |
getHibernateProperties()
Deprecated.
|
void |
setCipherProvider(com.atlassian.db.config.password.CipherProvider cipherProvider)
Deprecated.
|
void |
setH2ClientConfig(com.google.common.base.Function<com.atlassian.h2.ServerView,String> h2ClientConfig)
Deprecated.
since 7.0.1. Use
setH2ClientConfiguration(Function) |
void |
setH2ClientConfiguration(Function<com.atlassian.h2.ServerView,String> h2ClientConfig)
Deprecated.
|
void |
setH2ServerLifecycle(com.atlassian.h2.ServerLifecycle h2ServerLifecycle)
Deprecated.
|
protected boolean |
shouldRunH2Server(Properties prop)
Deprecated.
|
boolean |
supportsIdentityColumns()
Deprecated.
since 7.13.17 Use
HibernateDatabaseCapabilities.supportsIdentityColumns() |
boolean |
supportsSequences()
Deprecated.
since 7.13.17 Use
HibernateDatabaseCapabilities.supportsSequences() |
boolean |
uniqueAllowsAnyNullValues()
Deprecated.
|
boolean |
uniqueAllowsMultipleNullValues()
Deprecated.
|
booleanRequiresSubstitution, getApplicationConfig, isDb2, isDb2Dialect, isH2, isH2Dialect, isHibernateSetup, isHSQL, isHsqlDialect, isMySql, isMySqlDialect, isOracle, isOracleDialect, isPostgreSql, isPostgreSqlDialect, isSqlServer, isSqlServerDialect, setApplicationConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
from, isH2, isHSQL, isMySql, isOracle, isPostgreSql, isSqlServer
@Deprecated public static final String DIALECT_KEY
AvailableSettings.DIALECT
insteadpublic static final String CIPHER_TYPE_PROP
public Properties getHibernateProperties()
getHibernateProperties
in class com.atlassian.config.db.HibernateConfig
protected boolean shouldRunH2Server(Properties prop)
public boolean uniqueAllowsMultipleNullValues()
uniqueAllowsMultipleNullValues
in interface HibernateDatabaseCapabilities
uniqueAllowsMultipleNullValues
in class com.atlassian.config.db.HibernateConfig
public boolean uniqueAllowsAnyNullValues()
uniqueAllowsAnyNullValues
in interface HibernateDatabaseCapabilities
uniqueAllowsAnyNullValues
in class com.atlassian.config.db.HibernateConfig
uniqueAllowsMultipleNullValues()
@Deprecated public boolean supportsIdentityColumns()
HibernateDatabaseCapabilities.supportsIdentityColumns()
supportsIdentityColumns
in interface HibernateDatabaseCapabilities
@Deprecated public boolean supportsSequences()
HibernateDatabaseCapabilities.supportsSequences()
supportsSequences
in interface HibernateDatabaseCapabilities
public void setH2ServerLifecycle(com.atlassian.h2.ServerLifecycle h2ServerLifecycle)
@Deprecated public void setH2ClientConfig(com.google.common.base.Function<com.atlassian.h2.ServerView,String> h2ClientConfig)
setH2ClientConfiguration(Function)
public void setH2ClientConfiguration(Function<com.atlassian.h2.ServerView,String> h2ClientConfig)
public void setCipherProvider(com.atlassian.db.config.password.CipherProvider cipherProvider)
public com.atlassian.db.config.password.CipherProvider getCipherProvider()
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences