cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Weak References
Date Wed, 14 Jul 2010 12:53:26 GMT

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