On Jun 10, 2010, at 3:47 AM, Bob Schellink wrote:
> It would be great to consolidate shared and local query caches
> though. That will reduce the surface
> area of the problem space a bit. Not sure if such a change would be
> feasible however.
We have a QueryCache wrapper class called NestedQueryCache that allows
to attach multiple contexts to the same underlying shared cache
without creating key conflicts. It is not used by default (don't
remember why), but can be configured via a custom cache factory.
I think we can (should?) initialize all ObjectContexts with
NestedQueryCache via injection in 3.1.
Andrus
This archive was generated by hypermail 2.0.0 : Thu Jun 10 2010 - 21:38:24 UTC