cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lon Varscsak <>
Subject Re: Need a push in the right direction (parent-child object context and disappearing relationship)
Date Thu, 13 Jul 2017 17:51:35 GMT
I found the line that’s nulling it out…I just don’t understand at this deep
level what’s going on.  Here’s the strack trace:

On Thu, Jul 13, 2017 at 10:43 AM, Lon Varscsak <>

> I have an object (that’s new) in ObjectContextA that has a relationship to
> another new object (same OC) which also has a reverse relationship.  I then
> create a child of that OC (ObjectContactB) and grab a local version of the
> first object.  At that time, the relationship object (and it’s reverse) is
> there and all is good in the world.
> The moment I touch the object (setting a simple property with
> writeProperty) in the relationship the reverse relationship gets nulled
> out.  Any thoughts as to why this might happen?
> -Lon

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message