On 5/22/06, Andrus Adamchik <[EMAIL PROTECTED]> wrote:
If you can reproduce a problem with top-level DC, please log a bug.
Well, it's a bug then. I don't know if I can simpify it down to a a trivial test case, though.
Since objects do not retain DC instance on serialization, I don't see how this could happen. Maybe stick a debug statement is 'setObjectContext'?
Thanks, I'll take a look. I do think it's due to my reconnect code in BaseDataObjectImpl.readResolve() and not a bug in cayenne. I'm trying to figure out how to conditionally reattach only if the object wasn't in my temporary DataContext now.
