diff backend/pom.xml @ 8810:dbdb7c9bd51b

Upgrade to new PostgreSQL JDBC-driver. This needs more explicit type mapping but fixes the sometimes occuring error because of unimplemented Jdbc4Connection.isValid().
author Tom Gottfried <tom@intevation.de>
date Tue, 14 Mar 2017 16:27:14 +0100
parents dece88059a36
children 0862ea5d66ba
line wrap: on
line diff
--- a/backend/pom.xml	Mon Feb 22 17:26:36 2016 +0100
+++ b/backend/pom.xml	Tue Mar 14 16:27:14 2017 +0100
@@ -132,9 +132,9 @@
     </dependency>
     <dependency>
       <!-- overwrite dependency of postgis-jdbc -->
-      <groupId>postgresql</groupId>
+      <groupId>org.postgresql</groupId>
       <artifactId>postgresql</artifactId>
-      <version>9.1-901-1.jdbc4</version>
+      <version>42.0.0.jre7</version>
       <scope>runtime</scope>
     </dependency>
     <dependency>
@@ -142,6 +142,12 @@
       <artifactId>postgis-jdbc</artifactId>
       <version>1.3.3</version>
       <scope>runtime</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>postgresql</groupId>
+          <artifactId>postgresql</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.hibernatespatial</groupId>

http://dive4elements.wald.intevation.org