changeset 5713:f5d966428703

Fix class cast error in flow velocity importer (might by S. Teichmann)
author Tom Gottfried <tom.gottfried@intevation.de>
date Mon, 15 Apr 2013 18:27:14 +0200
parents 84e02b3f7a4f
children 1103308b19ca
files flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModelValue.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();
 

http://dive4elements.wald.intevation.org