cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Weak References
Date Wed, 14 Jul 2010 12:56:35 GMT
Perfect.  Thanks Andrus!

mrg

On Wed, Jul 14, 2010 at 8:53 AM, Andrus Adamchik <andrus@objectstyle.org> wrote:
>
> On Jul 14, 2010, at 3:44 PM, Michael Gentry wrote:
>
>> Is it always safe to call
>> foo.getObjectContext() later and get that DC?
>
> Yes. DataObject has a regular hard reference to its context. The only caveat
> that it is also a transient reference, so after
> serialization/deserialization cycle the context gets nullified.
>
> Andrus
>
>

Mime
View raw message