tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmannibu...@apache.org
Subject svn commit: r1178821 - in /openejb/trunk/openejb: container/openejb-core-hibernate/pom.xml examples/jpa-hibernate/pom.xml examples/jpa-hibernate/src/main/resources/META-INF/persistence.xml
Date Tue, 04 Oct 2011 14:55:35 GMT
Author: rmannibucau
Date: Tue Oct  4 14:55:35 2011
New Revision: 1178821

URL: http://svn.apache.org/viewvc?rev=1178821&view=rev
Log:
hibernate 4.0.0 doesn't manage hsqldb 1.8 so upgrading example using hibernate to hsqldb 2.2.4

Modified:
    openejb/trunk/openejb/container/openejb-core-hibernate/pom.xml
    openejb/trunk/openejb/examples/jpa-hibernate/pom.xml
    openejb/trunk/openejb/examples/jpa-hibernate/src/main/resources/META-INF/persistence.xml

Modified: openejb/trunk/openejb/container/openejb-core-hibernate/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/container/openejb-core-hibernate/pom.xml?rev=1178821&r1=1178820&r2=1178821&view=diff
==============================================================================
--- openejb/trunk/openejb/container/openejb-core-hibernate/pom.xml (original)
+++ openejb/trunk/openejb/container/openejb-core-hibernate/pom.xml Tue Oct  4 14:55:35 2011
@@ -58,6 +58,10 @@
           <artifactId>hibernate-jpa-2.0-api</artifactId>
         </exclusion>
         <exclusion>
+          <groupId>org.jboss.spec.javax.transaction</groupId>
+          <artifactId>jboss-transaction-api_1.1_spec</artifactId>
+        </exclusion>
+        <exclusion>
           <groupId>cglib</groupId>
           <artifactId>cglib</artifactId>
         </exclusion>

Modified: openejb/trunk/openejb/examples/jpa-hibernate/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/jpa-hibernate/pom.xml?rev=1178821&r1=1178820&r2=1178821&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/jpa-hibernate/pom.xml (original)
+++ openejb/trunk/openejb/examples/jpa-hibernate/pom.xml Tue Oct  4 14:55:35 2011
@@ -84,7 +84,20 @@
       <version>4.0.0-beta-2-SNAPSHOT</version>
       <type>pom</type>
       <scope>test</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>hsqldb</groupId>
+          <artifactId>hsqldb</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
+    <dependency>
+      <groupId>org.hsqldb</groupId>
+      <artifactId>hsqldb</artifactId>
+      <version>2.2.4</version>
+      <scope>runtime</scope>
+    </dependency>
+
   </dependencies>
   <!--
   This section allows you to configure where to publish libraries for sharing.

Modified: openejb/trunk/openejb/examples/jpa-hibernate/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/jpa-hibernate/src/main/resources/META-INF/persistence.xml?rev=1178821&r1=1178820&r2=1178821&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/jpa-hibernate/src/main/resources/META-INF/persistence.xml
(original)
+++ openejb/trunk/openejb/examples/jpa-hibernate/src/main/resources/META-INF/persistence.xml
Tue Oct  4 14:55:35 2011
@@ -26,6 +26,7 @@
     <non-jta-data-source>movieDatabaseUnmanaged</non-jta-data-source>
     <properties>
       <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
+      <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
     </properties>
   </persistence-unit>
 </persistence>



Mime
View raw message