OPEN - issue BATCH-1369: Change semantics of @AfterChunk to execute outside transaction

Moved afterChunk() call
This commit is contained in:
dsyer
2009-09-16 16:59:11 +00:00
parent 0f5d1f2ded
commit 5cb9834c23

View File

@@ -279,8 +279,6 @@ public class TaskletStep extends AbstractStep {
}
}
chunkListener.afterChunk();
}
finally {
@@ -390,6 +388,8 @@ public class TaskletStep extends AbstractStep {
}
}
chunkListener.afterChunk();
// Check for interruption after transaction as well, so that
// the interrupted exception is correctly propagated up to
// caller