public class ConfigurableLocalSessionFactoryBean
extends com.atlassian.hibernate.adapter.LocalSessionFactoryV2BridgeBean
LocalSessionFactoryBean
which changes how Hibernate is configured.Constructor and Description |
---|
ConfigurableLocalSessionFactoryBean(com.atlassian.util.concurrent.Supplier<net.sf.hibernate.connection.ConnectionProvider> connectionProviderSupplier) |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.cfg.Configuration |
buildConfigurationV5(com.atlassian.hibernate.adapter.ConfigurationV2Bridge configV2) |
Iterable<String> |
getCurrentMappingResources() |
MappingResources |
getMappingResources()
Deprecated.
since 5.6, use
getCurrentMappingResources() |
net.sf.hibernate.cfg.Configuration |
newConfiguration() |
void |
setCurrentMappingResources(Iterable<String> mappingResources) |
void |
setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig) |
void |
setMappingResources(MappingResources mappingResources)
Deprecated.
since 5.6, use
setCurrentMappingResources(Iterable) |
setBridgeMode, setBridgeModeSupplier, setJtaTransactionManager, setNamingStrategy, setUseTransactionAwareDataSource, updateV5MetaData
afterPropertiesSet, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, getObject, getObjectType, isSingleton, newSessionFactory, postProcessConfiguration, setConfigLocation, setDataSource, setEntityInterceptor, setHibernateProperties, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setSchemaUpdate, updateDatabaseSchema
public ConfigurableLocalSessionFactoryBean(@Nonnull com.atlassian.util.concurrent.Supplier<net.sf.hibernate.connection.ConnectionProvider> connectionProviderSupplier)
public net.sf.hibernate.cfg.Configuration newConfiguration() throws net.sf.hibernate.HibernateException
newConfiguration
in class com.atlassian.hibernate.adapter.LocalSessionFactoryV2BridgeBean
net.sf.hibernate.HibernateException
protected org.hibernate.cfg.Configuration buildConfigurationV5(com.atlassian.hibernate.adapter.ConfigurationV2Bridge configV2) throws net.sf.hibernate.HibernateException
buildConfigurationV5
in class com.atlassian.hibernate.adapter.LocalSessionFactoryV2BridgeBean
net.sf.hibernate.HibernateException
@Deprecated public MappingResources getMappingResources()
getCurrentMappingResources()
public void setHibernateConfig(com.atlassian.config.db.HibernateConfig hibernateConfig)
@Deprecated public void setMappingResources(MappingResources mappingResources)
setCurrentMappingResources(Iterable)
mappingResources
- The mappingResources to set.public void setCurrentMappingResources(Iterable<String> mappingResources)
Copyright © 2003–2016 Atlassian. All rights reserved.