Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-175

Eager selects by PagingResultObjectProvider may not use the FetchBatchSize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0, 0.9.6
    • 0.9.7
    • None
    • None

    Description

      The PagingResultObjectProvider during initialization does checks to determine the appropriate pageSize. While this logic caps the size to 50 and addresses determining an appropriate page size, it doesn't always conform to the set batch size. For example with the size being 1000 and FetchBatchSize set to say 500, the page size is determined to be 50 resulting in eager selects happening in batches of 50 when the user expects it to be in batches of 500.

      Attachments

        1. InExpression-Diff.txt
          3 kB
          Srinivasa Segu
        2. OPENJPA-175-patch.txt
          5 kB
          Srinivasa Segu
        3. OPENJPA-175-patch.txt
          5 kB
          Srinivasa Segu

        Activity

          People

            Unassigned Unassigned
            ssegu Srinivasa Segu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: