-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
- default-lazy-init="true">
-
- <bean id="slcDefault.dataSource.inMemoryTestHSQL"
- class="org.springframework.jdbc.datasource.SingleConnectionDataSource"
- destroy-method="destroy">
- <property name="driverClassName" value="org.hsqldb.jdbcDriver" />
- <property name="url" value="jdbc:hsqldb:mem:test" />
- <property name="username" value="sa" />
- <property name="password" value="" />
- <property name="suppressClose" value="true" />
- </bean>
-
- <bean id="slcTemplates.sessionFactory.hibernateBasic" abstract="true"
- class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
- <property name="mappingResources">
- <list>
- <value>
- org/argeo/slc/hibernate/structure/SimpleSElement.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/test/SimpleResultPart.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/test/tree/TreeTestResult.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/test/tree/TreeTestResultCollection.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/test/tree/PartSubList.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/test/TestRunDescriptor.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/process/SlcExecution.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/process/SlcExecutionStep.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/process/SlcExecutionSpec.hbm.xml
- </value>
- <value>
- org/argeo/slc/hibernate/runtime/SlcAgentDescriptor.hbm.xml
- </value>
- </list>
- </property>
- <property name="cacheProvider" ref="slcDefault.cacheProvider.ehCache" />
- </bean>