public class ConfigurableLocalSessionFactoryBean
extends org.springframework.orm.hibernate.LocalSessionFactoryBean
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) |
afterPropertiesSet, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, getObject, getObjectType, isSingleton, newSessionFactory, postProcessConfiguration, setConfigLocation, setDataSource, setEntityInterceptor, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setUseTransactionAwareDataSource, updateDatabaseSchemapublic net.sf.hibernate.cfg.Configuration newConfiguration()
throws net.sf.hibernate.HibernateException
newConfiguration in class org.springframework.orm.hibernate.LocalSessionFactoryBeannet.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.