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

Unbind transaction object from the current thread for iterated queries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.M4
    • None
    • None

    Description

      See CAY-2110... Iterated queries should unbind their internal transaction from the current thread (still storing it in the iterator object) before returning ResultIterator to the caller. This will remove conflicts between long running select and any other operations a user might want to perform within the iterator.

      Side effect of this - your code will require an extra JDBC connection to perform operations within iterator. Previously those operations reused the connection, and it is not clear what problems this might have caused.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: