Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModelValue.java @ 2833:5b54a648f702
Finished flow velocity data import: finished parsing meta data of model files and repaired broken HQL statements.
flys-backend/trunk@4259 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 18 Apr 2012 08:54:55 +0000 |
parents | ac5bd90697c1 |
children | 4ee97d914501 |
comparison
equal
deleted
inserted
replaced
2832:ac5bd90697c1 | 2833:5b54a648f702 |
---|---|
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 " flowVelocity=: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); |