1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans xmlns=
"http://www.springframework.org/schema/beans"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
4 xmlns:
context=
"http://www.springframework.org/schema/context"
5 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans
6 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"
10 <bean id=
"transactionManager" class=
"org.springframework.orm.hibernate3.HibernateTransactionManager">
11 <property name=
"sessionFactory" ref=
"sessionFactory" />
14 <bean id=
"sessionFactory" class=
"org.springframework.orm.hibernate3.LocalSessionFactoryBean">
15 <property name=
"namingStrategy">
16 <bean class=
"org.hibernate.cfg.DefaultComponentSafeNamingStrategy" />
19 <!-- <property name="entityInterceptor">
20 <bean class="eu.etaxonomy.cdm.persistence.hibernate.CdmHibernateInterceptor" />
23 <property name=
"configLocation" value=
"classpath:eu/etaxonomy/cdm/hibernate.cfg.xml"/>
24 <property name=
"configurationClass" value=
"org.hibernate.cfg.AnnotationConfiguration"/>
25 <property name=
"dataSource" ref=
"dataSource"/>
26 <property name=
"hibernateProperties" ref=
"hibernateProperties"/>