Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/ImportWstColumn.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 2ce7bacc940f |
children | 392bbcd8a88b 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
181 | 181 |
182 /** Get corresponding mapped wst-column (from database). */ | 182 /** Get corresponding mapped wst-column (from database). */ |
183 public WstColumn getPeer(River river) { | 183 public WstColumn getPeer(River river) { |
184 if (peer == null) { | 184 if (peer == null) { |
185 Wst w = wst.getPeer(river); | 185 Wst w = wst.getPeer(river); |
186 Session session = ImporterSession.getInstance().getDatabaseSession(); | 186 Session session = ImporterSession.getInstance() |
187 .getDatabaseSession(); | |
187 Query query = session.createQuery( | 188 Query query = session.createQuery( |
188 "from WstColumn where" + | 189 "from WstColumn where" + |
189 " wst=:wst and name=:name" + | 190 " wst=:wst and name=:name" + |
190 " and source=:source" + | 191 " and source=:source" + |
191 " and position=:position"); | 192 " and position=:position"); |