How about:
BaseContext.bindThreadObjectContext(context);?
Cheers,
Robert
On Apr 14, 2009, at 4/148:51 AM , Joseph Schmidt 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.
> e.g. DataContext.bindThreadDataContext()
>
> Needed in UnitTests.
>
> thanks,
> Joseph.
>
>
>
>
This archive was generated by hypermail 2.0.0 : Tue Apr 14 2009 - 09:59:29 EDT