Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/ImportSQRelationValue.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 | bfca77cbf353 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
74 } | 74 } |
75 | 75 |
76 | 76 |
77 public SQRelationValue getPeer(SQRelation owner) { | 77 public SQRelationValue getPeer(SQRelation owner) { |
78 if (peer == null) { | 78 if (peer == null) { |
79 Session session = ImporterSession.getInstance().getDatabaseSession(); | 79 Session session = ImporterSession.getInstance() |
80 .getDatabaseSession(); | |
80 Query query = session.createQuery( | 81 Query query = session.createQuery( |
81 "from SQRelationValue " + | 82 "from SQRelationValue " + |
82 " where sqRelation=:owner " + | 83 " where sqRelation=:owner " + |
83 " and measurementStation=:measurementStation" + | 84 " and measurementStation=:measurementStation" + |
84 " and parameter=:parameter"); | 85 " and parameter=:parameter"); |