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 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
5 default-lazy-init=
"true">
7 <bean id=
"slcTemplates.sessionFactory.hibernateBasic" abstract=
"true"
8 class=
"org.springframework.orm.hibernate3.LocalSessionFactoryBean">
9 <property name=
"mappingResources">
12 org/argeo/slc/hibernate/structure/SimpleSElement.hbm.xml
15 org/argeo/slc/hibernate/test/SimpleResultPart.hbm.xml
18 org/argeo/slc/hibernate/test/tree/TreeTestResult.hbm.xml
21 org/argeo/slc/hibernate/test/tree/TreeTestResultCollection.hbm.xml
24 org/argeo/slc/hibernate/test/tree/PartSubList.hbm.xml
27 org/argeo/slc/hibernate/test/TestRunDescriptor.hbm.xml
30 org/argeo/slc/hibernate/process/SlcExecution.hbm.xml
33 org/argeo/slc/hibernate/process/SlcExecutionStep.hbm.xml
36 org/argeo/slc/hibernate/runtime/SlcAgentDescriptor.hbm.xml
39 org/argeo/slc/hibernate/attachment/SimpleAttachment.hbm.xml
43 <property name=
"cacheProvider" ref=
"slcDefault.cacheProvider.ehCache" />
46 <bean id=
"slcDefault.cacheProvider.ehCache" class=
"net.sf.ehcache.hibernate.SingletonEhCacheProvider"
47 depends-on=
"slcDefault.cacheProvider.ehCacheManager">
50 <bean id=
"slcDefault.cacheProvider.ehCacheManager"
51 class=
"org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
52 <property name=
"shared" value=
"true" />
53 <property name=
"configLocation"
54 value=
"classpath:/org/argeo/slc/hibernate/ehcache.xml" />