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:tx="http://www.springframework.org/schema/tx"
|
5
|
xmlns:context="http://www.springframework.org/schema/context"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans 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
|
8
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
|
9
|
">
|
10
|
<bean id="dataSourceProperties" class="eu.etaxonomy.cdm.remote.config.DataSourceProperties">
|
11
|
<property name="propsMap">
|
12
|
<map/>
|
13
|
</property>
|
14
|
</bean>
|
15
|
<bean id="cdmTest" lazy-init="true" class="com.mchange.v2.c3p0.ComboPooledDataSource">
|
16
|
<property name="driverClass" value="org.h2.Driver"/>
|
17
|
<property name="user" value="sa"/>
|
18
|
<property name="password" value=""/>
|
19
|
<property name="jdbcUrl" value="jdbc:h2:file:./target/classes/h2/cdmTest;AUTO_SERVER=TRUE"/>
|
20
|
</bean>
|
21
|
</beans>
|