Project

General

Profile

Download (2.14 KB) Statistics
| Branch: | Tag: | Revision:
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:context="http://www.springframework.org/schema/context"
5
	xsi:schemaLocation="http://www.springframework.org/schema/beans 
6
    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7
    http://www.springframework.org/schema/context
8
    http://www.springframework.org/schema/context/spring-context-2.5.xsd">
9

    
10
  	<bean id="defaultDataSource"  lazy-init="true" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
11
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
12
        <property name="url" value="testUrl"/>
13
        <property name="username" value="testUser"/>
14
        <property name="password" value="testPassword"/>
15
    </bean>
16
	    
17
	<bean id="localDefaultHsqlDataSource" 
18
			lazy-init="true"
19
  			class="eu.etaxonomy.cdm.database.LocalHsqldb" 	
20
			init-method="init"
21
  			destroy-method="destroy"
22
  			>
23
        <property name="driverClassName" value="org.hsqldb.jdbcDriver"/>
24
        <property name="username" value="sa"/>
25
        <property name="password" value=""/>
26
        <property name="startServer" value="true"/>
27
        <property name="silent" value="true"/>
28
        <!-- property name="pureUrl" value="jdbc:hsqldb:hsql://localhost/"/-->
29
        <!-- property name="dbName" value="cdm"/> -->
30
        <!--  <property name="databasePath" value="C:\tmp\cdmDb\"/> -->
31
  	</bean>
32
	
33
	<bean id="localDefaultH2DataSource" 
34
			lazy-init="true"
35
  			class="eu.etaxonomy.cdm.database.LocalH2" 	
36
			init-method="init"
37
  			destroy-method="destroy"
38
  			>
39
        <property name="driverClassName" value="org.h2.Driver"/>
40
        <property name="username" value="sa"/>
41
        <property name="password" value=""/>
42
        <property name="startServer" value="true"/>
43
        <property name="silent" value="true"/>
44
        <!-- property name="pureUrl" value="jdbc:h2:tcp://localhost/"/-->
45
        <!-- property name="dbName" value="cdm"/> -->
46
        <!--  <property name="databasePath" value="C:\tmp\cdmDb\"/> -->
47
  	</bean>
48
	
49
</beans>
50

    
(5-5/6)