[ 
https://issues.apache.org/cayenne/browse/CAY-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909#action_12909
 ] 

Michael Gentry commented on CAY-1065:
-------------------------------------

Robert,

You simple implementation is precisely what I was thinking.  I like the idea of 
using Iterable, too.  Makes the most sense and you only need one method then 
and don't have to provide symmetry with adding new deleteObjects() or 
unregisterObjects() -- although perhaps their signatures should change to 
Iterable, too?  Or, we could use Collection like Andrey said and that would 
keep things consistent.



> Add registerNewObjects() method to DataContext
> ----------------------------------------------
>
>                 Key: CAY-1065
>                 URL: https://issues.apache.org/cayenne/browse/CAY-1065
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>         Environment: N/A
>            Reporter: Michael Gentry
>            Assignee: Michael Gentry
>            Priority: Minor
>             Fix For: 3.0
>
>
> Add registerNewObjects() method to DataContext which is a cover method which 
> calls registerNewObject().  Make at least two methods:
> void registerNewObjects(List objects)
> void registerNewObjects(Object[] objects)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to