1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 Copyright (C) 2007-2012 Mathieu Baudier
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
19 <beans xmlns=
"http://www.springframework.org/schema/beans"
20 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
21 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
22 default-lazy-init=
"true">
24 <bean id=
"slcTemplates.sessionFactory.hibernateBasic" abstract=
"true"
25 class=
"org.springframework.orm.hibernate3.LocalSessionFactoryBean">
26 <property name=
"mappingResources">
29 org/argeo/slc/hibernate/structure/SimpleSElement.hbm.xml
32 org/argeo/slc/hibernate/test/SimpleResultPart.hbm.xml
35 org/argeo/slc/hibernate/test/tree/TreeTestResult.hbm.xml
38 org/argeo/slc/hibernate/test/tree/TreeTestResultCollection.hbm.xml
41 org/argeo/slc/hibernate/test/tree/PartSubList.hbm.xml
44 org/argeo/slc/hibernate/test/TestRunDescriptor.hbm.xml
47 org/argeo/slc/hibernate/process/SlcExecution.hbm.xml
50 org/argeo/slc/hibernate/process/SlcExecutionStep.hbm.xml
53 org/argeo/slc/hibernate/runtime/SlcAgentDescriptor.hbm.xml
56 org/argeo/slc/hibernate/attachment/SimpleAttachment.hbm.xml
60 <property name=
"cacheProvider" ref=
"slcDefault.cacheProvider.ehCache" />
63 <bean id=
"slcDefault.cacheProvider.ehCache" class=
"net.sf.ehcache.hibernate.SingletonEhCacheProvider"
64 depends-on=
"slcDefault.cacheProvider.ehCacheManager">
67 <bean id=
"slcDefault.cacheProvider.ehCacheManager"
68 class=
"org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
69 <property name=
"shared" value=
"true" />
70 <property name=
"configLocation"
71 value=
"classpath:/org/argeo/slc/hibernate/ehcache.xml" />