changeset 1232:3383e042a655

Reverted the default db dialect back PostgreSQL. flys-backend/trunk@2517 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 22 Aug 2011 09:31:59 +0000
parents 22eea1c9e907
children 5a3109b8475f
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Mon Aug 22 09:10:08 2011 +0000
+++ b/flys-backend/ChangeLog	Mon Aug 22 09:31:59 2011 +0000
@@ -1,3 +1,11 @@
+2011-08-22  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java:
+	  Reverted the default db dialect to PostgreSQL - this has been changed to
+	  PostGIS by accident.
+	  Configure the dialect "org.hibernatespatial.postgis.PostgisDialect" to
+	  use the PostGIS stuff.
+
 2011-08-22  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/model/RiverAxis.java: Added a function
--- a/flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java	Mon Aug 22 09:10:08 2011 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java	Mon Aug 22 09:31:59 2011 +0000
@@ -72,8 +72,7 @@
     public static final String DEFAULT_DIALECT =
         System.getProperty(
             "flys.backend.dialect",
-            //"org.hibernate.dialect.PostgreSQLDialect");
-            "org.hibernatespatial.postgis.PostgisDialect");
+            "org.hibernate.dialect.PostgreSQLDialect");
 
     public static final String DEFAULT_DRIVER =
         System.getProperty(

http://dive4elements.wald.intevation.org