Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModelValue.java @ 2832:ac5bd90697c1
Added new parser for flow velocity measurements and fixed some smaller bugs while importing flow velocity data.
flys-backend/trunk@4250 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 17 Apr 2012 13:00:04 +0000 |
parents | ac13e466a55e |
children | 5b54a648f702 |
comparison
equal
deleted
inserted
replaced
2831:8fe9c6584b93 | 2832:ac5bd90697c1 |
---|---|
49 if (peer == null) { | 49 if (peer == null) { |
50 Session session = ImporterSession.getInstance().getDatabaseSession(); | 50 Session session = ImporterSession.getInstance().getDatabaseSession(); |
51 | 51 |
52 Query query = session.createQuery( | 52 Query query = session.createQuery( |
53 "from FlowVelocityModelValue where " + | 53 "from FlowVelocityModelValue where " + |
54 " model:=model and " + | 54 " model=:model and " + |
55 " station=:station" | 55 " station=:station" |
56 ); | 56 ); |
57 | 57 |
58 query.setParameter("model", model); | 58 query.setParameter("model", model); |
59 query.setParameter("station", station); | 59 query.setParameter("station", station); |