Revision e442bd81
Added by Andreas Müller about 16 years ago
cdmlib-persistence/src/main/resources/eu/etaxonomy/cdm/h2-datasource.xml | ||
---|---|---|
7 | 7 |
http://www.springframework.org/schema/context |
8 | 8 |
http://www.springframework.org/schema/context/spring-context-2.5.xsd"> |
9 | 9 |
|
10 |
<bean id="dataSource" lazy-init="true" class="eu.etaxonomy.cdm.database.LocalH2" > |
|
10 |
<bean id="dataSource" lazy-init="true" init-method="init" |
|
11 |
class="eu.etaxonomy.cdm.database.LocalH2" > |
|
11 | 12 |
<property name="driverClassName" value="org.h2.Driver"/> |
12 | 13 |
<property name="username" value="sa"/> |
13 | 14 |
<property name="password" value=""/> |
14 |
<!-- <property name="url" value="jdbc:h2:file:~/.cdmlib/h2/testXXX"/> -->
|
|
15 |
<property name="url" value="jdbc:h2:mem:cdmtest_mem"/> |
|
15 |
<!-- <property name="url" value="jdbc:h2:file:~/.cdmlib/h2/testXXX"/> |
|
16 |
<property name="url" value="jdbc:h2:mem:cdmtest_mem"/>-->
|
|
16 | 17 |
|
17 | 18 |
<!--property name="mode" value="inMemory"/--> |
18 | 19 |
</bean> |
Also available in: Unified diff