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:07:28 UTC

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

Andrus Adamchik created CAY-1953:
------------------------------------

             Summary: 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


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)