Re: DataContext cleanup

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Apr 10 2007 - 11:17:39 EDT

  • Next message: Marc Gabriel-Willem: "Optimistic locking"

    The context is garbage collected once the context itself and all its
    objects go out of scope. So make sure you don't retain references to
    the objects registered in the context and you should be fine.

    Andrus

    On Apr 10, 2007, at 11:18 AM, Marc Gabriel-Willem wrote:
    > Hi,
    >
    >
    >
    > In some situation, I'm creating a child data context.
    >
    > Is there a good way to clean-up that child data context properly (in
    > order to facilitate the JVM GC process) when I finished with it ?
    >
    >
    >
    > Thank you.
    >
    > Marc
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 10 2007 - 11:18:21 EDT