comparison src/test/resources/META-INF/test-persistence.xml @ 434:7d527bff842a

Added test environment.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Feb 2015 12:24:23 +0100
parents
children 5011173fd340
comparison
equal deleted inserted replaced
433:8751d2135364 434:7d527bff842a
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)