Re: Depreciated DataContext.getThreadDataContext()

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Apr 14 2009 - 10:12:37 EDT

  • Next message: Tore Halset: "Re: deprecate cdeploy?"

    > Deprecation of getThreadDataContext is unrelated to JPA support.

    Absolutely correct.

    Andrus

    On Apr 14, 2009, at 5:02 PM, Robert Zeigler wrote:

    > Deprecation of getThreadDataContext is unrelated to JPA support.
    > Use BaseContext.getThreadObjectContex() and cast it to DataContext.
    >
    > Robert
    >
    > On Apr 14, 2009, at 4/144:47 AM , Malcolm Edgar wrote:
    >
    >> With JPA off the roadmap can we remove the Java depreciation from
    >> DataContext.getThreadDataContext() as this generates a ton of
    >> warnings
    >> in our code base and the DataContext has important methods which just
    >> aren't available on ObjectContext or BaseContext.
    >>
    >> regards Malcolm Edgar
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Apr 14 2009 - 10:13:07 EDT