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 2013/05/24 21:27:20 UTC
[jira] [Closed] (CAY-1829) Make ResultIterator implement
Iterable, create ObjectContext.iterate method
[ https://issues.apache.org/jira/browse/CAY-1829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrus Adamchik closed CAY-1829.
--------------------------------
Resolution: Fixed
> Make ResultIterator implement Iterable<T>, create ObjectContext.iterate method
> ------------------------------------------------------------------------------
>
> Key: CAY-1829
> URL: https://issues.apache.org/jira/browse/CAY-1829
> Project: Cayenne
> Issue Type: Improvement
> Reporter: Andrus Adamchik
> Assignee: Andrus Adamchik
> Fix For: 3.2M1
>
>
> 1. Make ResultIterator implement Iterable<T> to simplify its use in loops.
> 2. Create ObjectContext.iterator method that is available both in ROP and server stacks. CayenneContext can simply do something stupid, like iterating over a regular list.
> 3. Create a callback flavor - ObjectContext,iterate(Select, ResultIteratorCallback)
> 4. Move ResultIterator to org.apache.cayenne - it should be available to all layers.
> 5. Stop throwing CayenneException from all methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira