OPEN - issue BATCH-1369: Change semantics of @AfterChunk to execute outside transaction
Moved afterChunk() call
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user