Re: Weak References

From: Michael Gentry (mgentr..asslight.net)
Date: Wed Jul 14 2010 - 12:56:35 UTC

  • Next message: Robert Zeigler: "column/entity property names"

    Perfect. Thanks Andrus!

    mrg

    On Wed, Jul 14, 2010 at 8:53 AM, Andrus Adamchik <andru..bjectstyle.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
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Jul 14 2010 - 12:58:28 UTC