Skip to content

Commit

Permalink
The loadDataBatch() needs to make callbacks to the IBatchListener
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Sep 23, 2008
1 parent 5f3a2e0 commit 4f28f7c
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -168,6 +168,9 @@ public IDataLoaderStatistics loadDataBatch(String batchData) throws IOException
try {
while (dataLoader.hasNext()) {
dataLoader.load();
IncomingBatchHistory history = new IncomingBatchHistory(dataLoader.getContext());
history.setValues(dataLoader.getStatistics(), true);
fireBatchComplete(dataLoader, history);
}
} finally {
stats = dataLoader.getStatistics();
Expand Down

0 comments on commit 4f28f7c

Please sign in to comment.