Re: Depreciated DataContext.getThreadDataContext()

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Tue Apr 14 2009 - 10:05:46 EDT

  • Next message: Andrus Adamchik: "Re: Depreciated DataContext.getThreadDataContext()"

    Yeah, we'd better add more functionality to ObjectContext/BaseContext. The
    goal is to minimize usage of DataContext class and use abstractions instead

    2009/4/14 Robert Zeigler <robert.zeigle..oxanemy.com>

    > 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:06:19 EDT