Class PortletHibernateConfiguration
Object
org.springframework.orm.hibernate5.HibernateExceptionTranslator
org.springframework.orm.hibernate5.LocalSessionFactoryBean
com.liferay.portal.spring.hibernate.PortalHibernateConfiguration
com.liferay.portal.spring.hibernate.PortletHibernateConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<org.hibernate.SessionFactory>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ResourceLoaderAware,org.springframework.dao.support.PersistenceExceptionTranslator
- Author:
- Brian Wing Shun Chan, Ganesh Ram
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionPortletHibernateConfiguration(ClassLoader classLoader, DataSource dataSource) -
Method Summary
Methods inherited from class com.liferay.portal.spring.hibernate.PortalHibernateConfiguration
afterPropertiesSet, buildSessionFactory, getPreloadClassLoaderClasses, readResource, readResource, setConfigurationResources, setDataSource, setMvccEnabledMethods inherited from class org.springframework.orm.hibernate5.LocalSessionFactoryBean
destroy, getConfiguration, getHibernateProperties, getMetadataSources, getObject, getObjectType, getResourceLoader, isSingleton, setAnnotatedClasses, setAnnotatedPackages, setBeanFactory, setBootstrapExecutor, setCacheableMappingLocations, setCacheRegionFactory, setConfigLocation, setConfigLocations, setCurrentTenantIdentifierResolver, setEntityInterceptor, setEntityTypeFilters, setHibernateIntegrators, setHibernateProperties, setImplicitNamingStrategy, setJtaTransactionManager, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setMetadataSources, setMultiTenantConnectionProvider, setPackagesToScan, setPhysicalNamingStrategy, setResourceLoaderMethods inherited from class org.springframework.orm.hibernate5.HibernateExceptionTranslator
convertHibernateAccessException, setJdbcExceptionTranslator, translateExceptionIfPossible
-
Constructor Details
-
PortletHibernateConfiguration
-
-
Method Details
-
getConfigurationClassLoader
- Overrides:
getConfigurationClassLoaderin classPortalHibernateConfiguration
-
getConfigurationResources
- Overrides:
getConfigurationResourcesin classPortalHibernateConfiguration
-