Mercurial > lada > lada-server
annotate src/test/resources/META-INF/test-persistence.xml @ 942:b94dbdd500dd
redesign messung query
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Wed, 11 May 2016 11:47:09 +0200 |
parents | 90343e38225f |
children | ea550e9a09a3 |
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"> |
826
90343e38225f
!!!CAUTION!!! Changed persistence unit JNDI name!
Raimund Renkert <raimund.renkert@intevation.de>
parents:
437
diff
changeset
|
6 <jta-data-source>java:jboss/lada-bund</jta-data-source> |
434
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 <properties> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/> |
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
|
10 <property name="hibernate.show_sql" value="false" /> |
434
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 <property name="hibernate.hbm2ddl.auto" value="none"/> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 <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
|
14 </properties> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 </persistence-unit> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
16 <persistence-unit name="land"> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 <provider>org.hibernate.ejb.HibernatePersistence</provider> |
826
90343e38225f
!!!CAUTION!!! Changed persistence unit JNDI name!
Raimund Renkert <raimund.renkert@intevation.de>
parents:
437
diff
changeset
|
18 <jta-data-source>java:jboss/lada-land</jta-data-source> |
434
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 <properties> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 <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
|
22 <property name="hibernate.show_sql" value="false" /> |
434
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 <property name="hibernate.hbm2ddl.auto" value="none"/> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 </properties> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 </persistence-unit> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 <persistence-unit name="stamm"> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
28 <provider>org.hibernate.ejb.HibernatePersistence</provider> |
826
90343e38225f
!!!CAUTION!!! Changed persistence unit JNDI name!
Raimund Renkert <raimund.renkert@intevation.de>
parents:
437
diff
changeset
|
29 <jta-data-source>java:jboss/lada-stamm</jta-data-source> |
434
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 <properties> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
31 <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
|
32 <property name="hibernate.show_sql" value="false" /> |
434
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
33 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
34 <property name="hibernate.hbm2ddl.auto" value="none"/> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
35 </properties> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
36 </persistence-unit> |
7d527bff842a
Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
37 </persistence> |