Spring Batch
  1. Spring Batch
  2. BATCH-549

JdbcCursorItemReader will not handle more than one restart

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: Infrastructure
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Lucas Ward added a comment -

        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.

        Show
        Lucas Ward added a comment - 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.
        Hide
        Dave Syer added a comment -

        Assume closed as resolved and released

        Show
        Dave Syer added a comment - Assume closed as resolved and released

          People

          • Assignee:
            Lucas Ward
            Reporter:
            Lucas Ward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 0.25d
              0.25d
              Remaining:
              Remaining Estimate - 0d
              0d
              Logged:
              Time Spent - 1h Time Not Required
              1h