changeset 606:432e253e4788

Updated persistence units.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 16 Apr 2015 15:46:09 +0200
parents 03864256fafa
children 9a4ec6fb53a7
files src/main/resources/META-INF/persistence.xml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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">
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)