Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-545

Paginated list - connection is committed before the result set is read

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2 branch
    • 1.2 branch
    • Core Library
    • None

    Description

      It looks like Cayenne commits a connection when running an iterated query BEFORE the iterated result is processed. I was able to reproduce this on Ingres, but I believe the issue is universal and under certain circumstances (i.e. larger page size) it will show on other databases as well.

      I already have a fix - wrap iterated queries in manual transactions.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: