Author: olamy
Date: Fri May 25 15:45:11 2012
New Revision: 1342696
URL: http://svn.apache.org/viewvc?rev=1342696&view=rev
Log:
test with h2
Modified:
archiva/redback/redback-components/trunk/spring-jdo2/pom.xml
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context-configurable.xml
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context.xml
Modified: archiva/redback/redback-components/trunk/spring-jdo2/pom.xml
URL:
http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-jdo2/pom.xml?rev=1342696&r1=1342695&r2=1342696&view=diff
==============================================================================
--- archiva/redback/redback-components/trunk/spring-jdo2/pom.xml (original)
+++ archiva/redback/redback-components/trunk/spring-jdo2/pom.xml Fri May 25
15:45:11 2012
@@ -134,6 +134,12 @@
<version>1.8.0.7</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.3.167</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
Modified:
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context-configurable.xml
URL:
http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context-configurable.xml?rev=1342696&r1=1342695&r2=1342696&view=diff
==============================================================================
---
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context-configurable.xml
(original)
+++
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context-configurable.xml
Fri May 25 15:45:11 2012
@@ -32,10 +32,15 @@
NOTE: JPOX 1.1.1 won't create the tables on start
http://www.jpox.org/servlet/jira/browse/CORE-2946
- -->
+
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
<property name="url" value="jdbc:hsqldb:mem:test"/>
<property name="userName" value="sa"/>
+ -->
+
+ <property name="driverName" value="org.h2.Driver"/>
+ <property name="url" value="jdbc:h2:mem:test-db;create=true"/>
+ <property name="userName" value="sa"/>
<!-- Apache Derby Configuration -->
<!--
Modified:
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context.xml
URL:
http://svn.apache.org/viewvc/archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context.xml?rev=1342696&r1=1342695&r2=1342696&view=diff
==============================================================================
---
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context.xml
(original)
+++
archiva/redback/redback-components/trunk/spring-jdo2/src/test/resources/spring-context.xml
Fri May 25 15:45:11 2012
@@ -34,10 +34,18 @@
NOTE: JPOX 1.1.1 won't create the tables on start
http://www.jpox.org/servlet/jira/browse/CORE-2946
- -->
+
<property name="driverName" value="org.hsqldb.jdbcDriver"/>
<property name="url" value="jdbc:hsqldb:mem:test"/>
<property name="userName" value="sa"/>
+ -->
+
+ <!-- H2 Configuration -->
+
+ <property name="driverName" value="org.h2.Driver"/>
+ <property name="url" value="jdbc:h2:mem:test-db;create=true"/>
+ <property name="userName" value="sa"/>
+
<!-- Apache Derby Configuration -->
<!--