Mercurial > lada > lada-server
comparison src/main/resources/META-INF/persistence.xml @ 1097:186d602e031a
Merged branch schema-update into default.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 14 Oct 2016 18:17:42 +0200 |
parents | 90343e38225f |
children |
comparison
equal
deleted
inserted
replaced
1096:565c8a67034d | 1097:186d602e031a |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <persistence version="2.1" | 2 <persistence version="2.1" |
3 xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 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"> | 4 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> |
5 <!-- PU for bund datasource. Maps to the schema 'bund' in the Lada database. --> | |
6 <persistence-unit name="bund"> | |
7 <!-- The JTA datasource configured in the Wildfly AS --> | |
8 <jta-data-source>java:jboss/lada-bund</jta-data-source> | |
9 <properties> | |
10 <!-- The JNDI name for lookups in the application --> | |
11 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/> | |
12 <!-- Properties for Hibernate --> | |
13 <property name="hibernate.hbm2ddl.auto" value="none"/> | |
14 <property name="hibernate.show_sql" value="false" /> | |
15 <!-- Use a special PostGIS dialect implmented for Lada. This dialect implements an additional integer array type --> | |
16 <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgisDialect"/> | |
17 </properties> | |
18 </persistence-unit> | |
19 <persistence-unit name="land"> | 5 <persistence-unit name="land"> |
20 <!-- The JTA datasource configured in the Wildfly AS --> | 6 <!-- The JTA datasource configured in the Wildfly AS --> |
21 <jta-data-source>java:jboss/lada-land</jta-data-source> | 7 <jta-data-source>java:jboss/lada-land</jta-data-source> |
8 <class>de.intevation.lada.model.stammdaten.FilterType</class> | |
9 <class>de.intevation.lada.model.stammdaten.QueryType</class> | |
10 <class>de.intevation.lada.model.land.KommentarP</class> | |
22 <exclude-unlisted-classes>false</exclude-unlisted-classes> | 11 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
23 <properties> | 12 <properties> |
24 <!-- The JNDI name for lookups in the application --> | 13 <!-- The JNDI name for lookups in the application --> |
25 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> | 14 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> |
26 <!-- Properties for Hibernate --> | 15 <!-- Properties for Hibernate --> |