comparison backend/src/main/java/org/dive4elements/river/importer/ImportWstColumn.java @ 7340:2ce7bacc940f double-precision

Merged changes from default into double precision branch.
author Tom Gottfried <tom@intevation.de>
date Tue, 15 Oct 2013 18:41:55 +0200
parents 7fabae60428b 8b8a10805c02
children 5e38e2924c07
comparison
equal deleted inserted replaced
7334:f7d3fc619976 7340:2ce7bacc940f
185 Wst w = wst.getPeer(river); 185 Wst w = wst.getPeer(river);
186 Session session = ImporterSession.getInstance().getDatabaseSession(); 186 Session session = ImporterSession.getInstance().getDatabaseSession();
187 Query query = session.createQuery( 187 Query query = session.createQuery(
188 "from WstColumn where" + 188 "from WstColumn where" +
189 " wst=:wst and name=:name" + 189 " wst=:wst and name=:name" +
190 " and source=:source" + 190 " and source=:source" +
191 " and position=:position"); 191 " and position=:position");
192 query.setParameter("wst", w); 192 query.setParameter("wst", w);
193 query.setParameter("name", name); 193 query.setParameter("name", name);
194 query.setParameter("position", position); 194 query.setParameter("position", position);
195 query.setParameter("source", source); 195 query.setParameter("source", source);

http://dive4elements.wald.intevation.org