comparison src/main/resources/META-INF/persistence.xml @ 606:432e253e4788

Updated persistence units.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 16 Apr 2015 15:46:09 +0200
parents 5011173fd340
children 54992c5f9898
comparison
equal deleted inserted replaced
605:03864256fafa 606:432e253e4788
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence version="2.1" 2 <persistence version="2.1"
3 xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> 4 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
5 <persistence-unit name="bund" transaction-type="JTA"> 5 <persistence-unit name="bund">
6 <!--provider>org.hibernate.jpa.HibernatePersistenceProvider</provider--> 6 <!--provider>org.hibernate.jpa.HibernatePersistenceProvider</provider-->
7 <jta-data-source>java:/jboss/lada-bund</jta-data-source> 7 <jta-data-source>java:/jboss/lada-bund</jta-data-source>
8 <exclude-unlisted-classes>false</exclude-unlisted-classes> 8 <exclude-unlisted-classes>false</exclude-unlisted-classes>
9 <properties> 9 <properties>
10 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/> 10 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/>
11 <!-- Properties for Hibernate --> 11 <!-- Properties for Hibernate -->
12 <property name="hibernate.show_sql" value="false" /> 12 <property name="hibernate.show_sql" value="false" />
13 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> 13 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
14 <property name="hibernate.hbm2ddl.auto" value="none"/> 14 <property name="hibernate.hbm2ddl.auto" value="none"/>
15 <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /> 15 <!-- property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /-->
16 </properties> 16 </properties>
17 </persistence-unit> 17 </persistence-unit>
18 <persistence-unit name="land"> 18 <persistence-unit name="land">
19 <provider>org.hibernate.ejb.HibernatePersistence</provider> 19 <provider>org.hibernate.ejb.HibernatePersistence</provider>
20 <jta-data-source>java:/jboss/lada-land</jta-data-source> 20 <jta-data-source>java:/jboss/lada-land</jta-data-source>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)