public class ConfigurableLocalSessionFactoryBean
extends com.atlassian.hibernate.adapter.LocalSessionFactoryV2BridgeBean
LocalSessionFactoryBean
which changes how Hibernate is configured.Constructor and Description |
---|
ConfigurableLocalSessionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
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, setDataSource, setJtaTransactionManager, setNamingStrategy, setUseTransactionAwareDataSource
afterPropertiesSet, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, getObject, getObjectType, isSingleton, newSessionFactory, postProcessConfiguration, setConfigLocation, setEntityInterceptor, setHibernateProperties, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setSchemaUpdate, updateDatabaseSchema
public net.sf.hibernate.cfg.Configuration newConfiguration() throws net.sf.hibernate.HibernateException
newConfiguration
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)
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.