BATCH-610:StaxEventItemReader didn't close correctly either, and the test for single column driving query wasn't passing through close calls.

This commit is contained in:
lucasward
2008-05-02 15:51:40 +00:00
parent 68092549bd
commit 6c15a59a3e
2 changed files with 2 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ public class StaxEventItemReader extends ExecutionContextUserSupport implements
public void close(ExecutionContext executionContext) {
initialized = false;
currentRecordCount = 0;
try {
if (fragmentReader != null) {
fragmentReader.close();

View File

@@ -48,6 +48,7 @@ class FooItemReader implements ItemStream, ItemReader, DisposableBean, Initializ
};
public void close(ExecutionContext executionContext) {
inputSource.close(executionContext);
}
/*