Mercurial > lada > lada-server
annotate src/main/resources/META-INF/persistence.xml @ 494:d8ad9b8e014c
Comments.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 18 Feb 2015 16:11:41 +0100 |
parents | 5011173fd340 |
children | 432e253e4788 |
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="bund" transaction-type="JTA"> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 <!--provider>org.hibernate.jpa.HibernatePersistenceProvider</provider--> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 <jta-data-source>java:/jboss/lada-bund</jta-data-source> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 <properties> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/> |
0ec07c73d4bb
Added basic config files.
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:
421
diff
changeset
|
12 <property name="hibernate.show_sql" value="false" /> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 <property name="hibernate.hbm2ddl.auto" value="none"/> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
16 </properties> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 </persistence-unit> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
18 <persistence-unit name="land"> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 <provider>org.hibernate.ejb.HibernatePersistence</provider> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 <jta-data-source>java:/jboss/lada-land</jta-data-source> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 <properties> |
0ec07c73d4bb
Added basic config files.
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:
421
diff
changeset
|
24 <property name="hibernate.show_sql" value="false" /> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 <property name="hibernate.hbm2ddl.auto" value="none"/> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 </properties> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
28 </persistence-unit> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
29 <persistence-unit name="stamm"> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 <provider>org.hibernate.ejb.HibernatePersistence</provider> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
31 <jta-data-source>java:/jboss/lada-stamm</jta-data-source> |
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 <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:
421
diff
changeset
|
34 <property name="hibernate.show_sql" value="false" /> |
421
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
35 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
36 <property name="hibernate.hbm2ddl.auto" value="none"/> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
37 </properties> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
38 </persistence-unit> |
0ec07c73d4bb
Added basic config files.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
39 </persistence> |