Author: steve.ebersole(a)jboss.com
Date: 2010-06-30 09:43:49 -0400 (Wed, 30 Jun 2010)
New Revision: 19870
Modified:
core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle
core/branches/gradle2/hibernate-infinispan/src/test/resources/hibernate.properties
Log:
update infinispan module to use h2 for its unit tests
Modified: core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle
===================================================================
--- core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle 2010-06-30
13:43:35 UTC (rev 19869)
+++ core/branches/gradle2/hibernate-infinispan/hibernate-infinispan.gradle 2010-06-30
13:43:49 UTC (rev 19870)
@@ -28,6 +28,7 @@
testCompile( [group: 'com.experlog', name: 'xapool', version:
'1.5.0'] )
testCompile( [group: 'jboss.jbossts', name: 'jbossjta', version:
'4.9.0.GA'] )
testCompile( libraries.jta )
+ testCompile( libraries.h2 )
testCompile( [group: 'org.rhq.helpers', name:
'rhq-pluginAnnotations', version: '1.4.0.B01'] )
testRuntime( libraries.javassist )
}
Modified:
core/branches/gradle2/hibernate-infinispan/src/test/resources/hibernate.properties
===================================================================
---
core/branches/gradle2/hibernate-infinispan/src/test/resources/hibernate.properties 2010-06-30
13:43:35 UTC (rev 19869)
+++
core/branches/gradle2/hibernate-infinispan/src/test/resources/hibernate.properties 2010-06-30
13:43:49 UTC (rev 19870)
@@ -21,9 +21,9 @@
# 51 Franklin Street, Fifth Floor #
# Boston, MA 02110-1301 USA #
################################################################################
-hibernate.dialect org.hibernate.dialect.HSQLDialect
-hibernate.connection.driver_class org.hsqldb.jdbcDriver
-hibernate.connection.url jdbc:hsqldb:mem:/test
+hibernate.dialect org.hibernate.dialect.H2Dialect
+hibernate.connection.driver_class org.h2.Driver
+hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE
hibernate.connection.username sa
hibernate.connection.password
Show replies by date