removing unneccesary trace info for test h2 db and using the correct h2 driver class
[taxeditor.git] / eu.etaxonomy.taxeditor.test / src / test / resources / datasources.xml
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-3.1.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
11 <!--
12 DataSourceProperties allow configuring specific properties of the datasources
13
14 * cdmlib-remote.xslBasePath:
15 alternative base path for REST services to retrieve XSL style sheets from.
16 the base path must be on the same domain since cross domain xsl loading is
17 not permitted
18 -->
19 <bean id="dataSourceProperties" class="eu.etaxonomy.cdm.remote.config.DataSourceProperties">
20 <property name="propsMap">
21 <map>
22 <!--
23 <entry key="dataSourceBeanID">
24 <props>
25 <prop key="cdmlib-remote.xslBasePath">/xsl</prop>
26 </props>
27 </entry>
28 -->
29 </map>
30 </property>
31 </bean>
32
33 <bean id="cdmTest" lazy-init="true" class="com.mchange.v2.c3p0.ComboPooledDataSource">
34 <property name="driverClass" value="org.h2.Driver"/>
35 <property name="user" value="sa" />
36 <property name="password" value="" />
37 <property name="jdbcUrl" value="jdbc:h2:file:./target/test-classes/h2/cdmTest;AUTO_SERVER=TRUE"/>
38 </bean>
39 </beans>