org.squashtest.tm.service.internal.hibernate
Class RicherDialectSessionFactoryBean

java.lang.Object
  extended by org.springframework.orm.hibernate4.HibernateExceptionTranslator
      extended by org.springframework.orm.hibernate4.LocalSessionFactoryBean
          extended by org.squashtest.tm.service.internal.hibernate.RicherDialectSessionFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, 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

public class RicherDialectSessionFactoryBean
extends org.springframework.orm.hibernate4.LocalSessionFactoryBean

The purpose of this class is to add more things to the config of the session factory, when there is no other way to do so.

Author:
bsiri

Constructor Summary
RicherDialectSessionFactoryBean()
           
 
Method Summary
protected  org.hibernate.SessionFactory buildSessionFactory(org.springframework.orm.hibernate4.LocalSessionFactoryBuilder sfb)
           
 List<String> getDialectsSupportingGroupConcat()
           
 void setDialectsSupportingGroupConcat(List<String> dialectsSupportingGroupConcat)
           
 
Methods inherited from class org.springframework.orm.hibernate4.LocalSessionFactoryBean
afterPropertiesSet, destroy, getConfiguration, getHibernateProperties, getObject, getObjectType, isSingleton, setAnnotatedClasses, setAnnotatedPackages, setCacheableMappingLocations, setConfigLocation, setConfigLocations, setDataSource, setEntityInterceptor, setHibernateProperties, setJtaTransactionManager, setMappingDirectoryLocations, setMappingJarLocations, setMappingLocations, setMappingResources, setNamingStrategy, setPackagesToScan, setResourceLoader
 
Methods inherited from class org.springframework.orm.hibernate4.HibernateExceptionTranslator
convertHibernateAccessException, translateExceptionIfPossible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RicherDialectSessionFactoryBean

public RicherDialectSessionFactoryBean()
Method Detail

setDialectsSupportingGroupConcat

public void setDialectsSupportingGroupConcat(List<String> dialectsSupportingGroupConcat)

getDialectsSupportingGroupConcat

public List<String> getDialectsSupportingGroupConcat()

buildSessionFactory

protected org.hibernate.SessionFactory buildSessionFactory(org.springframework.orm.hibernate4.LocalSessionFactoryBuilder sfb)
Overrides:
buildSessionFactory in class org.springframework.orm.hibernate4.LocalSessionFactoryBean


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.