public class HibernateSessionFactoryBean
extends org.springframework.orm.hibernate3.LocalSessionFactoryBean
Modifier and Type | Field and Description |
---|---|
protected ChainingInterceptor |
chainingInterceptor |
Map<String,org.hibernate.Interceptor> |
interceptors |
protected Set<String> |
tmpMappingResources |
Constructor and Description |
---|
HibernateSessionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
Set<String> |
getModuleMappingResources() |
org.hibernate.cfg.Configuration |
newConfiguration() |
void |
setMappingJarLocations(org.springframework.core.io.Resource[] mappingJarLocations)
Used by the module testing framework to set the dependent modules in the hibernate session
factory
|
void |
setMappingResources(String[] mappingResources)
Collect the mapping resources for future use because the mappingResources object is defined
as 'private' instead of 'protected'
|
afterSessionFactoryCreation, buildSessionFactory, createDatabaseSchema, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeCacheProvider, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newSessionFactory, postProcessConfiguration, postProcessMappings, setBeanClassLoader, setCacheableMappingLocations, setCacheProvider, setCacheRegionFactory, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingLocations, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, updateDatabaseSchema, validateDatabaseSchema
beforeSessionFactoryDestruction, convertHibernateAccessException, getDataSource, getObject, getObjectType, getSessionFactory, isExposeTransactionAwareSessionFactory, isSingleton, isUseTransactionAwareDataSource, setDataSource, setExposeTransactionAwareSessionFactory, setJdbcExceptionTranslator, setUseTransactionAwareDataSource, translateExceptionIfPossible, wrapSessionFactoryIfNecessary
protected ChainingInterceptor chainingInterceptor
public org.hibernate.cfg.Configuration newConfiguration() throws org.hibernate.HibernateException
newConfiguration
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
org.hibernate.HibernateException
public void setMappingResources(String[] mappingResources)
setMappingResources
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
LocalSessionFactoryBean.setMappingResources(java.lang.String[])
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
in class org.springframework.orm.hibernate3.AbstractSessionFactoryBean
Exception
public void destroy() throws org.hibernate.HibernateException
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
org.hibernate.HibernateException
LocalSessionFactoryBean.destroy()
public void setMappingJarLocations(org.springframework.core.io.Resource[] mappingJarLocations)
setMappingJarLocations
in class org.springframework.orm.hibernate3.LocalSessionFactoryBean
LocalSessionFactoryBean.setMappingJarLocations(org.springframework.core.io.Resource[])
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.