cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2111) Unbind transaction object from the current thread for iterated queries
Date Mon, 05 Sep 2016 15:05:20 GMT

     [ 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)

Mime
View raw message