comparison src/main/resources/META-INF/persistence.xml @ 421:0ec07c73d4bb

Added basic config files.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 04 Feb 2015 16:01:53 +0100
parents
children 5011173fd340
comparison
equal deleted inserted replaced
420:c7e86351d6ba 421:0ec07c73d4bb
1 <?xml version="1.0" encoding="UTF-8"?>
2 <persistence version="2.1"
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">
5 <persistence-unit name="bund" transaction-type="JTA">
6 <!--provider>org.hibernate.jpa.HibernatePersistenceProvider</provider-->
7 <jta-data-source>java:/jboss/lada-bund</jta-data-source>
8 <exclude-unlisted-classes>false</exclude-unlisted-classes>
9 <properties>
10 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/>
11 <!-- Properties for Hibernate -->
12 <property name="hibernate.show_sql" value="true" />
13 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
14 <property name="hibernate.hbm2ddl.auto" value="none"/>
15 <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" />
16 </properties>
17 </persistence-unit>
18 <persistence-unit name="land">
19 <provider>org.hibernate.ejb.HibernatePersistence</provider>
20 <jta-data-source>java:/jboss/lada-land</jta-data-source>
21 <exclude-unlisted-classes>false</exclude-unlisted-classes>
22 <properties>
23 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/>
24 <property name="hibernate.show_sql" value="true" />
25 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
26 <property name="hibernate.hbm2ddl.auto" value="none"/>
27 </properties>
28 </persistence-unit>
29 <persistence-unit name="stamm">
30 <provider>org.hibernate.ejb.HibernatePersistence</provider>
31 <jta-data-source>java:/jboss/lada-stamm</jta-data-source>
32 <properties>
33 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/>
34 <property name="hibernate.show_sql" value="true" />
35 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
36 <property name="hibernate.hbm2ddl.auto" value="none"/>
37 </properties>
38 </persistence-unit>
39 </persistence>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)