[JIRA] Assigned: (CAY-697) Deleting objects in ROP does not seem to delete the object in context linked arrays

From: Kevin Menard (JIRA) ("Kevin)
Date: Tue Jan 01 2008 - 20:11:39 EST

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Commented: (CAY-697) Deleting objects in ROP does not seem to delete the object in context linked arrays"

         [ https://issues.apache.org/cayenne/browse/CAY-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Kevin Menard reassigned CAY-697:
    --------------------------------

        Assignee: Kevin Menard

    > Deleting objects in ROP does not seem to delete the object in context linked arrays
    > -----------------------------------------------------------------------------------
    >
    > Key: CAY-697
    > URL: https://issues.apache.org/cayenne/browse/CAY-697
    > Project: Cayenne
    > Issue Type: Bug
    > Components: Cayenne Core Library
    > Affects Versions: 2.0 [STABLE]
    > Environment: Tested on Windows XP client with 2003 Server
    > Reporter: Lindsay Steele
    > Assignee: Kevin Menard
    >
    > When an object is deleted in a context on an ROP client and the context is committed, the object is deleted in the database but still seems to be in the context.
    > An example is having object A with a To array of B Objects.
    > One of the B objects is deleted. The context is then committed. The object is removed from the database.
    > Then, when looking at the size of the ObjectA.toBArray the size is still the same and object is still there.
    > My work around has been;
    > context.deleteObject(B) ;
    > ObjectA.getToBArray.remove(B);

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



    This archive was generated by hypermail 2.0.0 : Tue Jan 01 2008 - 20:12:03 EST