com.liferay.portal.spring.hibernate
Class PortalHibernateConfiguration

java.lang.Object
  extended by org.springframework.orm.hibernate3.AbstractSessionFactoryBean
      extended by org.springframework.orm.hibernate3.LocalSessionFactoryBean
          extended by com.liferay.portal.spring.hibernate.TransactionAwareConfiguration
              extended by com.liferay.portal.spring.hibernate.PortalHibernateConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.dao.support.PersistenceExceptionTranslator
Direct Known Subclasses:
PortletHibernateConfiguration

public class PortalHibernateConfiguration
extends TransactionAwareConfiguration

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean
logger
 
Constructor Summary
PortalHibernateConfiguration()
           
 
Method Summary
protected  java.lang.String determineDialect()
           
protected  java.lang.ClassLoader getConfigurationClassLoader()
           
protected  java.lang.String[] getConfigurationResources()
           
protected  org.hibernate.cfg.Configuration newConfiguration()
           
protected  void postProcessConfiguration(org.hibernate.cfg.Configuration configuration)
           
 
Methods inherited from class com.liferay.portal.spring.hibernate.TransactionAwareConfiguration
wrapSessionFactoryIfNecessary
 
Methods inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean
afterSessionFactoryCreation, buildSessionFactory, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeCacheProvider, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newSessionFactory, postProcessMappings, setBeanClassLoader, setCacheableMappingLocations, setCacheProvider, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, setConfigurationClass, setEntityCacheStrategies, setEntityInterceptor, setEventListeners, setFilterDefinitions, setHibernateProperties, setJtaTransactionManager, setLobHandler, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setSchemaUpdate, setTypeDefinitions, updateDatabaseSchema
 
Methods inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean
afterPropertiesSet, beforeSessionFactoryDestruction, convertHibernateAccessException, getDataSource, getObject, getObjectType, getSessionFactory, isExposeTransactionAwareSessionFactory, isSingleton, isUseTransactionAwareDataSource, setDataSource, setExposeTransactionAwareSessionFactory, setJdbcExceptionTranslator, setUseTransactionAwareDataSource, translateExceptionIfPossible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalHibernateConfiguration

public PortalHibernateConfiguration()
Method Detail

determineDialect

protected java.lang.String determineDialect()

getConfigurationClassLoader

protected java.lang.ClassLoader getConfigurationClassLoader()

getConfigurationResources

protected java.lang.String[] getConfigurationResources()

newConfiguration

protected org.hibernate.cfg.Configuration newConfiguration()
Overrides:
newConfiguration in class org.springframework.orm.hibernate3.LocalSessionFactoryBean

postProcessConfiguration

protected void postProcessConfiguration(org.hibernate.cfg.Configuration configuration)
Overrides:
postProcessConfiguration in class org.springframework.orm.hibernate3.LocalSessionFactoryBean