Mercurial > dive4elements > river
comparison flys-aft/src/main/java/de/intevation/aft/Sync.java @ 4089:859b4781554a
Prefetch existing time intervals from FLYS db.
flys-aft/trunk@3574 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 03 Jan 2012 12:25:06 +0000 |
parents | 44dc38ca8492 |
children | d556e29592f5 |
comparison
equal
deleted
inserted
replaced
4088:52cde7fe742a | 4089:859b4781554a |
---|---|
95 try { | 95 try { |
96 syncContext = new SyncContext( | 96 syncContext = new SyncContext( |
97 aftConnectionBuilder.getConnectedStatements(), | 97 aftConnectionBuilder.getConnectedStatements(), |
98 flysConnectionBuilder.getConnectedStatements(), | 98 flysConnectionBuilder.getConnectedStatements(), |
99 dips); | 99 dips); |
100 syncContext.init(); | |
100 Rivers rivers = new Rivers(); | 101 Rivers rivers = new Rivers(); |
101 rivers.sync(syncContext); | 102 rivers.sync(syncContext); |
102 } | 103 } |
103 catch (SQLException sqle) { | 104 catch (SQLException sqle) { |
104 log.error("syncing failed", sqle); | 105 log.error("syncing failed", sqle); |