Author: adamw
Date: 2008-10-30 04:24:20 -0400 (Thu, 30 Oct 2008)
New Revision: 15450
Modified:
core/trunk/envers/pom.xml
core/trunk/envers/src/test/resources/hibernate.test.cfg.xml
Log:
Tests pass, using h2
Modified: core/trunk/envers/pom.xml
===================================================================
--- core/trunk/envers/pom.xml 2008-10-29 23:15:41 UTC (rev 15449)
+++ core/trunk/envers/pom.xml 2008-10-30 08:24:20 UTC (rev 15450)
@@ -145,6 +145,11 @@
<artifactId>mysql-connector-java</artifactId>
<version>5.1.6</version>
</dependency>
+ <dependency>
+ <groupId>com.h2database</groupId>
+ <artifactId>h2</artifactId>
+ <version>1.0.79</version>
+ </dependency>
</dependencies>
<dependencyManagement>
Modified: core/trunk/envers/src/test/resources/hibernate.test.cfg.xml
===================================================================
--- core/trunk/envers/src/test/resources/hibernate.test.cfg.xml 2008-10-29 23:15:41 UTC
(rev 15449)
+++ core/trunk/envers/src/test/resources/hibernate.test.cfg.xml 2008-10-30 08:24:20 UTC
(rev 15450)
@@ -8,10 +8,16 @@
<session-factory>
<property name="hbm2ddl.auto">create-drop</property>
- <property
name="dialect">org.hibernate.dialect.MySQLDialect</property>
+ <!--<property
name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property
name="connection.url">jdbc:mysql:///hibernate_tests?useUnicode=true&characterEncoding=UTF-8</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="connection.username">root</property>
+ <property name="connection.password"></property>-->
+
+ <property
name="dialect">org.hibernate.dialect.H2Dialect</property>
+ <property
name="connection.url">jdbc:h2:/tmp/envers/test</property>
+ <property
name="connection.driver_class">org.h2.Driver</property>
+ <property name="connection.username">sa</property>
<property name="connection.password"></property>
<!--<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
Show replies by date