annotate src/test/resources/META-INF/test-persistence.xml @ 1306:902bc2190fec

Set postgresql version to 9.5 in dockerfile for more jsonb support.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 08 Mar 2017 09:41:14 +0100
parents 186d602e031a
children
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="land">
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6 <provider>org.hibernate.ejb.HibernatePersistence</provider>
826
90343e38225f !!!CAUTION!!! Changed persistence unit JNDI name!
Raimund Renkert <raimund.renkert@intevation.de>
parents: 437
diff changeset
7 <jta-data-source>java:jboss/lada-land</jta-data-source>
434
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/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
11 <property name="hibernate.show_sql" value="false" />
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 <property name="hibernate.hbm2ddl.auto" value="none"/>
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="stamm">
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-stamm</jta-data-source>
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
19 <properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
20 <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
21 <property name="hibernate.show_sql" value="false" />
434
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
22 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
23 <property name="hibernate.hbm2ddl.auto" value="none"/>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
24 </properties>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
25 </persistence-unit>
7d527bff842a Added test environment.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
26 </persistence>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)