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-1953) Redo ResultIteratorCallback to handle single row callback instead of iterator
Date Wed, 10 Sep 2014 07:08:30 GMT

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

Mime
View raw message