annotate src/test/resources/META-INF/test-persistence.xml @ 600:bfec71a39c07

Handle authorization of messung objects in a separate way.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 08 Apr 2015 10:44:24 +0200
parents 5011173fd340
children 90343e38225f
rev   line source
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2 <persistence version="2.1"
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 <persistence-unit name="bund" transaction-type="JTA">
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 <!--provider>org.hibernate.jpa.HibernatePersistenceProvider</provider-->
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 <jta-data-source>java:/jboss/lada-bund</jta-data-source>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
8 <exclude-unlisted-classes>false</exclude-unlisted-classes>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
9 <properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 <!-- Properties for Hibernate -->
437
5011173fd340 Updated logging infrastructure. Using log4j 1.2.17 since log4j2 does not with arquillian.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 434
diff changeset
12 <property name="hibernate.show_sql" value="false" />
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 <property name="hibernate.hbm2ddl.auto" value="none"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
15 <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" />
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
16 </properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
17 </persistence-unit>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
18 <persistence-unit name="land">
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 <provider>org.hibernate.ejb.HibernatePersistence</provider>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 <jta-data-source>java:/jboss/lada-land</jta-data-source>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
21 <exclude-unlisted-classes>false</exclude-unlisted-classes>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22 <properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
23 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/>
437
5011173fd340 Updated logging infrastructure. Using log4j 1.2.17 since log4j2 does not with arquillian.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 434
diff changeset
24 <property name="hibernate.show_sql" value="false" />
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26 <property name="hibernate.hbm2ddl.auto" value="none"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
27 </properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
28 </persistence-unit>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
29 <persistence-unit name="stamm">
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
30 <provider>org.hibernate.ejb.HibernatePersistence</provider>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
31 <jta-data-source>java:/jboss/lada-stamm</jta-data-source>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
32 <properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
33 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/>
437
5011173fd340 Updated logging infrastructure. Using log4j 1.2.17 since log4j2 does not with arquillian.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 434
diff changeset
34 <property name="hibernate.show_sql" value="false" />
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
35 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
36 <property name="hibernate.hbm2ddl.auto" value="none"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
37 </properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
38 </persistence-unit>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
39 </persistence>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)