[JIRA] Created: (CAY-680) Deprecate DataObject.[get|set]DataContext in favor of [get|set]ObjectContext

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

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-681) Deprecate DataObject.fetchFinished() in favor of the callbacks"

    Deprecate DataObject.[get|set]DataContext in favor of [get|set]ObjectContext
    ----------------------------------------------------------------------------

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

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

    We should deprecate DataObject.[get|set]DataContext in favor of [get|set]ObjectContext and remove all internal calls to it.

    I did a first pass locally, and this seems to be rather trivial. Two places that will require more thought are CayenneDataObject (that accesses ObjectStore directly) and AshwoodEntitySorter that uses DC to take snapshots

    -- 
    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 - 21:52:26 EDT