Mercurial > lada > lada-server
annotate src/main/resources/META-INF/persistence.xml @ 1340:372f7f679340
changed lada-server version to 2.6-SNAPSHOT, because 2.6.1 should only point to one specific commit
author | Marco Lechner, Bundesamt fuer Strahlenschutz, SW 2.1 <mlechner@bfs.de> |
---|---|
date | Fri, 07 Apr 2017 09:59:46 +0200 |
parents | 186d602e031a |
children |
rev | line source |
---|---|
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 <persistence version="2.1" |
0ec07c73d4bb
Added basic config files.
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" |
0ec07c73d4bb
Added basic config files.
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"> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 <persistence-unit name="land"> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
6 <!-- The JTA datasource configured in the Wildfly AS --> |
826
90343e38225f
!!!CAUTION!!! Changed persistence unit JNDI name!
Raimund Renkert <raimund.renkert@intevation.de>
parents:
804
diff
changeset
|
7 <jta-data-source>java:jboss/lada-land</jta-data-source> |
1097
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
826
diff
changeset
|
8 <class>de.intevation.lada.model.stammdaten.FilterType</class> |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
826
diff
changeset
|
9 <class>de.intevation.lada.model.stammdaten.QueryType</class> |
186d602e031a
Merged branch schema-update into default.
Tom Gottfried <tom@intevation.de>
parents:
826
diff
changeset
|
10 <class>de.intevation.lada.model.land.KommentarP</class> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 <properties> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
13 <!-- The JNDI name for lookups in the application --> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
15 <!-- Properties for Hibernate --> |
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
16 <property name="hibernate.hbm2ddl.auto" value="none"/> |
804
8249a76a1f6d
Do not trace SQL statements to lada-server.log.
Tom Gottfried <tom@intevation.de>
parents:
691
diff
changeset
|
17 <property name="hibernate.show_sql" value="false" /> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
18 <!-- Use a special PostGIS dialect implmented for Lada. This dialect implements an additional integer array type --> |
673
e6564d5fdc7a
Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
654
diff
changeset
|
19 <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgisDialect"/> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 </properties> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 </persistence-unit> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 <persistence-unit name="stamm"> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
23 <!-- The JTA datasource configured in the Wildfly AS --> |
826
90343e38225f
!!!CAUTION!!! Changed persistence unit JNDI name!
Raimund Renkert <raimund.renkert@intevation.de>
parents:
804
diff
changeset
|
24 <jta-data-source>java:jboss/lada-stamm</jta-data-source> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 <properties> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
26 <!-- The JNDI name for lookups in the application --> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
28 <!-- Properties for Hibernate --> |
804
8249a76a1f6d
Do not trace SQL statements to lada-server.log.
Tom Gottfried <tom@intevation.de>
parents:
691
diff
changeset
|
29 <property name="hibernate.show_sql" value="false" /> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 <property name="hibernate.hbm2ddl.auto" value="none"/> |
691
46bb231ff9b9
Documentation.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
673
diff
changeset
|
31 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
32 </properties> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
33 </persistence-unit> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
34 </persistence> |