Issue Details (XML | Word | Printable)

Key: BATCH-549
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Lucas Ward
Reporter: Lucas Ward
Votes: 0
Watchers: 0
Operations

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

JdbcCursorItemReader will not handle more than one restart

Created: 02/Apr/08 10:29 AM   Updated: 07/Aug/08 10:07 AM
Component/s: Infrastructure
Affects Version/s: 1.0.0
Fix Version/s: 1.0.1

Time Tracking:
Original Estimate: 0.25d
Original Estimate - 0.25d
Remaining Estimate: 0d
Time Spent - 0.12d
Time Spent: 0.12d
Time Spent - 0.12d Time Not Required


 Description  « Hide
The JdbcCursorItemReader won't handle restarting more than once, since the BufferedResultSetReader returns only the records it's processed. An extra unit test for this scenario should be added to the abstract integration tests as well.

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Lucas Ward added a comment - 02/Apr/08 10:52 AM
I added an additional argument to the constructor of the BufferredResultSetReader, so it would count correctly. I also added an additional test case to the abstract integration tests to ensure this use case is covered.

Dave Syer added a comment - 07/Aug/08 10:07 AM
Assume closed as resolved and released