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 2014/09/10 09:08:30 UTC

[jira] [Closed] (CAY-1953) Redo ResultIteratorCallback to handle single row callback instead of iterator

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

Andrus Adamchik closed CAY-1953.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 3.2M2

> Redo ResultIteratorCallback to handle single row callback instead of iterator
> -----------------------------------------------------------------------------
>
>                 Key: CAY-1953
>                 URL: https://issues.apache.org/jira/browse/CAY-1953
>             Project: Cayenne
>          Issue Type: Improvement
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.2M2
>
>
> ResultIteratorCallback created per CAY-1829 is not super convenient, as the implementor must handle iteration on its own. So replace 
>   void iterate(ResultIterator<T> iterator);
> with 
>   void next(T object);
> which will simplify the callback code.



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