[Dive4elements-commits] [PATCH] Fix class cast error in flow velocity importer (might by S. Teichmann)

Wald Commits scm-commit at wald.intevation.org
Mon Apr 15 18:27:17 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1366043234 -7200
# Node ID f5d966428703079d8dde066c73304d6cc0be65b8
# Parent  84e02b3f7a4f1ba775770e322845c14b19f3adf4
Fix class cast error in flow velocity importer (might by S. Teichmann)

diff -r 84e02b3f7a4f -r f5d966428703 flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModelValue.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModelValue.java	Mon Apr 15 17:04:38 2013 +0200
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModelValue.java	Mon Apr 15 18:27:14 2013 +0200
@@ -53,7 +53,7 @@
             );
 
             query.setParameter("model", model);
-            query.setParameter("station", station);
+            query.setParameter("station", station.doubleValue());
 
             List<FlowVelocityModelValue> values = query.list();
 


More information about the Dive4elements-commits mailing list