Mercurial > lada > lada-server
comparison src/main/resources/META-INF/persistence.xml @ 654:54992c5f9898
Use the extended dialect for lada datasources.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 12 May 2015 15:16:05 +0200 |
parents | 432e253e4788 |
children | e6564d5fdc7a |
comparison
equal
deleted
inserted
replaced
653:d067d72e602c | 654:54992c5f9898 |
---|---|
8 <exclude-unlisted-classes>false</exclude-unlisted-classes> | 8 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
9 <properties> | 9 <properties> |
10 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/> | 10 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/> |
11 <!-- Properties for Hibernate --> | 11 <!-- Properties for Hibernate --> |
12 <property name="hibernate.show_sql" value="false" /> | 12 <property name="hibernate.show_sql" value="false" /> |
13 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> | 13 <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgreSQLDialect"/> |
14 <property name="hibernate.hbm2ddl.auto" value="none"/> | 14 <property name="hibernate.hbm2ddl.auto" value="none"/> |
15 <!-- property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /--> | 15 <!-- property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /--> |
16 </properties> | 16 </properties> |
17 </persistence-unit> | 17 </persistence-unit> |
18 <persistence-unit name="land"> | 18 <persistence-unit name="land"> |
19 <provider>org.hibernate.ejb.HibernatePersistence</provider> | 19 <provider>org.hibernate.ejb.HibernatePersistence</provider> |
20 <jta-data-source>java:/jboss/lada-land</jta-data-source> | 20 <jta-data-source>java:/jboss/lada-land</jta-data-source> |
21 <exclude-unlisted-classes>false</exclude-unlisted-classes> | 21 <exclude-unlisted-classes>false</exclude-unlisted-classes> |
22 <properties> | 22 <properties> |
23 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> | 23 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/> |
24 <property name="hibernate.show_sql" value="false" /> | 24 <property name="hibernate.show_sql" value="true" /> |
25 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> | 25 <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgreSQLDialect"/> |
26 <property name="hibernate.hbm2ddl.auto" value="none"/> | 26 <property name="hibernate.hbm2ddl.auto" value="none"/> |
27 </properties> | 27 </properties> |
28 </persistence-unit> | 28 </persistence-unit> |
29 <persistence-unit name="stamm"> | 29 <persistence-unit name="stamm"> |
30 <provider>org.hibernate.ejb.HibernatePersistence</provider> | 30 <provider>org.hibernate.ejb.HibernatePersistence</provider> |
31 <jta-data-source>java:/jboss/lada-stamm</jta-data-source> | 31 <jta-data-source>java:/jboss/lada-stamm</jta-data-source> |
32 <properties> | 32 <properties> |
33 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/> | 33 <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/> |
34 <property name="hibernate.show_sql" value="false" /> | 34 <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgreSQLDialect"/> |
35 <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/> | 35 <property name="hibernate.show_sql" value="true" /> |
36 <property name="hibernate.hbm2ddl.auto" value="none"/> | 36 <property name="hibernate.hbm2ddl.auto" value="none"/> |
37 </properties> | 37 </properties> |
38 </persistence-unit> | 38 </persistence-unit> |
39 </persistence> | 39 </persistence> |