You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Kevin Menard (JIRA)" <de...@cayenne.apache.org> on 2008/01/02 02:11:39 UTC
[JIRA] Assigned: (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.