You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ca...@incubator.apache.org> on 2006/10/08 02:53:06 UTC

[JIRA] Created: (CAY-679) Add a new method to ObjectContext: registerNewObject(Object)

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