[hibernate-commits] Hibernate SVN: r18030 - core/trunk/parent.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Nov 24 04:41:25 EST 2009


Author: epbernard
Date: 2009-11-24 04:41:24 -0500 (Tue, 24 Nov 2009)
New Revision: 18030

Modified:
   core/trunk/parent/pom.xml
Log:
Add H2 profile

Modified: core/trunk/parent/pom.xml
===================================================================
--- core/trunk/parent/pom.xml	2009-11-24 09:39:08 UTC (rev 18029)
+++ core/trunk/parent/pom.xml	2009-11-24 09:41:24 UTC (rev 18030)
@@ -512,9 +512,31 @@
                 <jdbc.url>jdbc:hsqldb:.</jdbc.url>
                 <jdbc.user>sa</jdbc.user>
                 <jdbc.pass/>
-                <jdbc.isolation/>
+                 <jdbc.isolation/>
             </properties>
         </profile>
+
+        <profile>
+            <id>h2</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>com.h2database</groupId>
+                    <artifactId>h2</artifactId>
+                    <version>1.2.124</version>
+                </dependency>
+            </dependencies>
+            <properties>
+                <db.dialect>org.hibernate.dialect.H2Dialect</db.dialect>
+                <jdbc.driver>org.h2.Driver</jdbc.driver>
+                <jdbc.url>jdbc:h2:mem:db1</jdbc.url>
+                <jdbc.user>sa</jdbc.user>
+                <jdbc.pass/>
+                 <jdbc.isolation/>
+            </properties>
+        </profile>
         <!--
             ###################################################################
             Profiles naming db instances in the Red Hat QA/QE lab



More information about the hibernate-commits mailing list