Table of Contents
This module allows to integrate any JCache (JSR 107) compatible caching provider with Cayenne.
<dependency> <groupId>org.apache.cayenne</groupId> <artifactId>cayenne-jcache</artifactId> <version>4.0.B2</version> </dependency>
To use JCache provider in your app you need to include this module and caching provider libs (e.g. Ehcache).
You can provide own implementation of org.apache.cayenne.jcache.JCacheConfigurationFactory
to customize cache configuration if required.
For advanced configuration and management please use provider specific options and tools.
You can read about using cache in Cayenne in this chapter.
You may else be interested in cache invalidation extension.