e2e4e45fb46db67e8bec0bb56fd1ce3fe99d0cf6
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 xmlns:
tx=
"http://www.springframework.org/schema/tx"
6 xmlns:
aop=
"http://www.springframework.org/schema/aop"
7 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans
8 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
9 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
10 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
11 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
14 <bean id=
"transactionManager" class=
"org.springframework.orm.hibernate3.HibernateTransactionManager">
15 <property name=
"sessionFactory" ref=
"sessionFactory" />
18 <bean id=
"sessionFactory" class=
"org.springframework.orm.hibernate3.LocalSessionFactoryBean">
19 <property name=
"namingStrategy">
20 <bean class=
"org.hibernate.cfg.DefaultComponentSafeNamingStrategy" />
23 <!-- <property name="entityInterceptor">
24 <bean class="eu.etaxonomy.cdm.persistence.hibernate.CdmHibernateInterceptor" />
27 <property name=
"configLocation" value=
"classpath:eu/etaxonomy/cdm/hibernate.cfg.xml"/>
28 <property name=
"configurationClass" value=
"org.hibernate.cfg.AnnotationConfiguration"/>
29 <property name=
"dataSource" ref=
"dataSource"/>
30 <property name=
"hibernateProperties" ref=
"hibernateProperties"/>