I will have to look into
that Interface some more though, seems I missed some evolution there.

It wasn't widely announced. In 1.2 ObjectContext was introduced mostly for the sake of the remote client, but it proved useful in many different situations (taking advantage of decorator pattern being one of the major benefits). Still we haven't told everybody to rush with a switch from DataContext to ObjectContext, as there are a bunch of legacy API's that rely on DataContext (DataContextDelegate, DataContextFactory, thread-bound DataContext, etc.). We need to figure out how to migrate those before we make it official.

Andrus


On Oct 30, 2006, at 4:57 PM, Adrian Wiesmann wrote:

One thing to check - is your application using preInterceptor
ObjectContext wrapper, or dataContext? It should be the former.

Yes, that was it. I still was using DataContext, did not get your hint in
the mail before. Changed my DataContext to ObjectContext for testing
purposes and now everything runs as expected. I will have to look into
that Interface some more though, seems I missed some evolution there.

Thanks,
Adrian


Reply via email to