Hello All,

I was wondering if there is anything special I might be missing to utilize
the @CacheGroups annotation for query caching. I have successfully gotten
Cayenne to use Ehcache for query caching. I have cache groups specified in
the ehcache.xml file. However, if I use the @CacheGroups annotation on an
object, it appears to be ignored. The caching still goes to the default
cache. If I specify the cache group in the code, i.e.
query.setCacheGroups(), everything works fine, and the cache group is
utilized.

I am using Cayenne 3.1.

Thanks to anyone who can point me in the right direction.

-Frank

-- 
FRANK HERRMANN
SOFTWARE ENGINEER

T: 561-880-2998 x1563

E: [email protected]



[image: [ Modernizing Medicine ]] <http://www.modmed.com/>
[image: [ Facebook ]] <http://www.facebook.com/modernizingmedicine> [image:
[ LinkedIn ]] <http://www.linkedin.com/company/modernizing-medicine/> [image:
[ YouTube ]] <http://www.youtube.com/user/modernizingmedicine> [image: [
Twitter ]] <https://twitter.com/modmed_EMA> [image: [ Blog ]]
<http://www.modmed.com/BlogBeyondEMR> [image: [ Instagram ]]
<http://instagram.com/modernizing_medicine>

Reply via email to