[Lada-commits] [PATCH 04 of 10] Updated persistence units

Wald Commits scm-commit at wald.intevation.org
Thu Apr 16 15:49:19 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1429191969 -7200
# Node ID 432e253e47884ca3a29fdb23efe58cc21d7e2ed7
# Parent  03864256fafa871f19e56ad6409473bb1f4e593e
Updated persistence units.

diff -r 03864256fafa -r 432e253e4788 src/main/resources/META-INF/persistence.xml
--- a/src/main/resources/META-INF/persistence.xml	Thu Apr 16 15:45:26 2015 +0200
+++ b/src/main/resources/META-INF/persistence.xml	Thu Apr 16 15:46:09 2015 +0200
@@ -2,7 +2,7 @@
 <persistence version="2.1"
    xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
-    <persistence-unit name="bund" transaction-type="JTA">
+    <persistence-unit name="bund">
         <!--provider>org.hibernate.jpa.HibernatePersistenceProvider</provider-->
         <jta-data-source>java:/jboss/lada-bund</jta-data-source>
         <exclude-unlisted-classes>false</exclude-unlisted-classes>
@@ -12,7 +12,7 @@
             <property name="hibernate.show_sql" value="false" />
             <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
             <property name="hibernate.hbm2ddl.auto" value="none"/>
-            <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /> 
+            <!-- property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /--> 
        </properties>
    	</persistence-unit>
    	<persistence-unit name="land">


More information about the Lada-commits mailing list