org.riotfamily.riot.hibernate.support
Class RiotSessionFactoryBean

java.lang.Object
  extended by org.springframework.orm.hibernate3.AbstractSessionFactoryBean
      extended by org.springframework.orm.hibernate3.LocalSessionFactoryBean
          extended by org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean
              extended by org.riotfamily.riot.hibernate.support.RiotSessionFactoryBean
All Implemented Interfaces:
BeanClassLoaderAware, DisposableBean, FactoryBean, InitializingBean, ResourceLoaderAware, PersistenceExceptionTranslator

public class RiotSessionFactoryBean
extends AnnotationSessionFactoryBean


Field Summary
 
Fields inherited from class org.springframework.orm.hibernate3.AbstractSessionFactoryBean
logger
 
Constructor Summary
RiotSessionFactoryBean()
           
 
Method Summary
protected  void afterSessionFactoryCreation()
           
 void setValidate(boolean validate)
          Default is false because of: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3532
 void validateSchema()
           
 
Methods inherited from class org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean
postProcessAnnotationConfiguration, postProcessConfiguration, postProcessMappings, scanPackages, setAnnotatedClasses, setAnnotatedPackages, setConfigurationClass, setEntityTypeFilters, setPackagesToScan, setResourceLoader
 
Methods inherited from class org.springframework.orm.hibernate3.LocalSessionFactoryBean
buildSessionFactory, createDatabaseSchema, destroy, dropDatabaseSchema, executeSchemaScript, executeSchemaStatement, getConfigTimeCacheProvider, getConfigTimeDataSource, getConfigTimeLobHandler, getConfigTimeTransactionManager, getConfiguration, getHibernateProperties, newConfiguration, newSessionFactory, setBeanClassLoader, setCacheableMappingLocations, setCacheProvider, setCollectionCacheStrategies, setConfigLocation, setConfigLocations, 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, wrapSessionFactoryIfNecessary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiotSessionFactoryBean

public RiotSessionFactoryBean()
Method Detail

afterSessionFactoryCreation

protected void afterSessionFactoryCreation()
                                    throws Exception
Overrides:
afterSessionFactoryCreation in class LocalSessionFactoryBean
Throws:
Exception

setValidate

public void setValidate(boolean validate)
Default is false because of: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3532


validateSchema

public void validateSchema()
                    throws DataAccessException
Throws:
DataAccessException