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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Sat Oct 07 2006 - 20:53:06 EDT

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-680) Deprecate DataObject.[get|set]DataContext in favor of [get|set]ObjectContext"

    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
    



    This archive was generated by hypermail 2.0.0 : Sat Oct 07 2006 - 20:53:25 EDT