Add a new method to ObjectContext: registerNewObject(Object)
------------------------------------------------------------

         Key: CAY-679
         URL: http://issues.apache.org/cayenne/browse/CAY-679
     Project: Cayenne
        Type: Task

  Components: Cayenne Core Library  
    Versions: 3.0    
    Reporter: Andrus Adamchik
 Assigned to: Andrus Adamchik 
     Fix For: 3.0


Will need to add a new method to ObjectContext: registerNewObject(Persistent), 
to let users atach existing transient objects to an ObjectContext. Note that 
this functionality (and a similar method) already exist in the DataContext. The 
only change to the DataContext is the  argument being Persistent, not 
DataObject.

This is also needed to switch JPA EntityManager to ObjectContext.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/cayenne/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to