Issue Details (XML | Word | Printable)

Key: BATCH-668
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Robert Kasanicky
Reporter: Dave Syer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring Batch
BATCH-518

JobRepository needs to distinguish between save and update of execution context

Created: 18/Jun/08 04:32 AM   Updated: 23/Sep/08 08:26 PM
Component/s: Core
Affects Version/s: 1.1.0
Fix Version/s: 2.0.0.M1

Time Tracking:
Original Estimate: 0.5d
Original Estimate - 0.5d
Remaining Estimate: 0.5d
Remaining Estimate - 0.5d
Time Spent: Not Specified
Remaining Estimate - 0.5d

Issue Links:
Depends
 


 Description  « Hide
I didn't want to fix this in 1.1 because it may require an interface change. The downside for 1.1 is that SimpleJobRepository.saveOrUpdateExecutionContext *must not* call saveOrUpdate(StepExecution) - it is up to the caller to decide when it is necessary. See BATCH-654 for explanation.

 All   Comments   Work Log   Change History   FishEye   Related Builds      Sort Order: Ascending order - Click to sort in descending order
Robert Kasanicky added a comment - 30/Jul/08 06:00 AM
StepExecution is now saved at the very beginning of execution of step, which should make this issue obsolete.