Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/River.java @ 5480:7a68967ca72a
AFT/DIPS: Small fixes and workarounds for Oracle DB problems.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 27 Mar 2013 20:19:09 +0100 |
parents | da1e897c7224 |
children | 14de791bd8f7 |
comparison
equal
deleted
inserted
replaced
5479:11fba4dabe05 | 5480:7a68967ca72a |
---|---|
194 .executeQuery(); | 194 .executeQuery(); |
195 | 195 |
196 int flysId; | 196 int flysId; |
197 | 197 |
198 try { | 198 try { |
199 if (rs.next()) { | 199 if (!rs.next()) { |
200 log.error( | 200 log.error( |
201 "FLYS: No master discharge table found for gauge '" + | 201 "FLYS: No master discharge table found for gauge '" + |
202 gauge.getAftName() + "'"); | 202 gauge.getAftName() + "'"); |
203 return false; | 203 return false; |
204 } | 204 } |