changeset 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 (2015-05-12)
parents d067d72e602c
children 309870b4142c
files src/main/resources/META-INF/persistence.xml
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/resources/META-INF/persistence.xml	Tue May 12 15:15:27 2015 +0200
+++ b/src/main/resources/META-INF/persistence.xml	Tue May 12 15:16:05 2015 +0200
@@ -10,7 +10,7 @@
             <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/bund"/>
             <!-- Properties for Hibernate -->
             <property name="hibernate.show_sql" value="false" />
-            <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
+            <property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgreSQLDialect"/>
             <property name="hibernate.hbm2ddl.auto" value="none"/>
             <!-- property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" /--> 
        </properties>
@@ -21,8 +21,8 @@
        	<exclude-unlisted-classes>false</exclude-unlisted-classes>
     	<properties>
             <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/land"/>
-            <property name="hibernate.show_sql" value="false" />
-            <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
+            <property name="hibernate.show_sql" value="true" />
+			<property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgreSQLDialect"/>
             <property name="hibernate.hbm2ddl.auto" value="none"/>
        </properties>
     </persistence-unit>
@@ -31,8 +31,8 @@
         <jta-data-source>java:/jboss/lada-stamm</jta-data-source>
         <properties>
             <property name="jboss.entity.manager.jndi.name" value="java:app/entitymanager/stamm"/>
-            <property name="hibernate.show_sql" value="false" />
-            <property name="hibernate.dialect" value="org.hibernate.spatial.dialect.postgis.PostgisDialect"/>
+			<property name="hibernate.dialect" value="de.intevation.lada.util.data.LadaPostgreSQLDialect"/>
+            <property name="hibernate.show_sql" value="true" />
             <property name="hibernate.hbm2ddl.auto" value="none"/>
         </properties>
     </persistence-unit>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)