It's never been implemented cause I couldn't figure out a good place
to put it.
Now looking at the current Cayenne context structure, maybe instead of
ObjectContextUtils, we should use BaseContext class to store a static
ThreadLocal? And then deprecate corresponding DataContext methods,
pointing them to a superclass static var?
Andrus
On Aug 14, 2008, at 2:57 AM, Kevin Menard wrote:
> Hi,
> Does anyone know why there's no utility method to bind a
> CayenneContext to
> ThreadLocal like there is for DataContext? Was it because it just
> wasn't
> needed or is there something funky to watch out for? If there's no
> good
> reason not to have it, does anyone object to me adding it or
> creating an
> ObjectContextUtils class for making it simple?
>
> --
> Thanks,
> Kevin
This archive was generated by hypermail 2.0.0 : Thu Aug 14 2008 - 02:35:52 EDT