Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportFlowVelocityModelValue.java @ 5707:53134ccc4a64
Backend: Import Flow Velocity Model: Use unique km for station.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 15 Apr 2013 15:45:18 +0200 |
parents | 3bd786772798 |
children | f5d966428703 |
comparison
equal
deleted
inserted
replaced
5706:8a198db28de0 | 5707:53134ccc4a64 |
---|---|
47 Session session = ImporterSession.getInstance().getDatabaseSession(); | 47 Session session = ImporterSession.getInstance().getDatabaseSession(); |
48 | 48 |
49 Query query = session.createQuery( | 49 Query query = session.createQuery( |
50 "from FlowVelocityModelValue where " + | 50 "from FlowVelocityModelValue where " + |
51 " flowVelocity=:model and " + | 51 " flowVelocity=:model and " + |
52 " station=:station" | 52 " station between :station - 0.00001 and :station + 0.00001" |
53 ); | 53 ); |
54 | 54 |
55 query.setParameter("model", model); | 55 query.setParameter("model", model); |
56 query.setParameter("station", station); | 56 query.setParameter("station", station); |
57 | 57 |