You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2016/09/05 15:05:20 UTC

[jira] [Closed] (CAY-2111) Unbind transaction object from the current thread for iterated queries

     [ https://issues.apache.org/jira/browse/CAY-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-2111.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.M4

> Unbind transaction object from the current thread for iterated queries
> ----------------------------------------------------------------------
>
>                 Key: CAY-2111
>                 URL: https://issues.apache.org/jira/browse/CAY-2111
>             Project: Cayenne
>          Issue Type: Improvement
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 4.0.M4
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)