Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/River.java @ 4077:97de7a552b79
Load DIPS XML
flys-aft/trunk@3452 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 16 Dec 2011 16:21:59 +0000 |
parents | 039413d7e394 |
children | 0944cdd2ee90 |
comparison
equal
deleted
inserted
replaced
4076:039413d7e394 | 4077:97de7a552b79 |
---|---|
24 | 24 |
25 public String getName() { | 25 public String getName() { |
26 return name; | 26 return name; |
27 } | 27 } |
28 | 28 |
29 public void sync( | 29 public void sync(SyncContext context) throws SQLException { |
30 ConnectedStatements aftStatements, | |
31 ConnectedStatements flysStatements | |
32 ) | |
33 throws SQLException | |
34 { | |
35 log.info("sync river: " + this); | 30 log.info("sync river: " + this); |
31 | |
32 ConnectedStatements flysStatements = context.getFlysStatements(); | |
33 ConnectedStatements aftStatements = context.getAftStatements(); | |
34 | |
36 ResultSet messstellenRs = aftStatements | 35 ResultSet messstellenRs = aftStatements |
37 .getStatement("select.messstelle") | 36 .getStatement("select.messstelle") |
38 .clearParameters() | 37 .clearParameters() |
39 .setInt("GEWAESSER_NR", id2).executeQuery(); | 38 .setInt("GEWAESSER_NR", id2).executeQuery(); |
40 | 39 |