Hi,
I'm working with 3.3.2GA and ehcache 1.6.2.
I just realized why many queries didn't hit the cache. While debuggind something and passing through the Loader, i stumbled upon this line Loader:2118 in the list(...) method:
Code:
final boolean cacheable = factory.getSettings().isQueryCacheEnabled() &&
queryParameters.isCacheable();
factory.getSettings().isQueryCacheEnabled() is true when ehcache query cache is enabled, but queryParameters.isCacheable() seem to always resolve to false.
I can't find any way to set queryParameters as cacheable, not in the doc not on the web not in the forum.
I think that'd help many, wondering as I do why so many queries don't hit the cache!