cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Deleted objects showing up a serialized data context
Date Wed, 26 Jul 2006 19:38:52 GMT

On Jul 26, 2006, at 3:32 PM, Mike Kienenberger wrote:

>
>> BTW LinkedList is hard to debug as it only shows one element at a
>> time, hiding the rest of the chain.
>
> Yeah, I'm not sure if it's obvious, but the LinkedList above contains
> only one element.   At least that's how I'm reading the size=1 plus
> the next/previous/current links all pointing to the same id value.
>
> this= LinkedList  (id=394)
>       header= LinkedList$Entry  (id=641)
>               element= null
>               next= LinkedList$Entry  (id=673)
>                       element= FeeCycle  (id=387)
>                               isInTemporaryDataContext= true
>                               objectContext= null
>                               objectId= null
>                               persistenceState= 1
>                               snapshotVersion= 0
>                               values= HashMap  (id=375)
>                       next= LinkedList$Entry  (id=641)
>                       previous= LinkedList$Entry  (id=641)
>               previous= LinkedList$Entry  (id=673)
>       modCount= 1
>       size= 1

It is now :-)  Something's wrong with delete rules then. You may need  
to put a breakpoint in delete code to see that nullify delete rule  
actually cleans the collection.

Andrus

Mime
View raw message