With OpenSymphony announcing its shutdown recently (see http://www.opensymphony.com/ ), we thought that it would make sense to have a cache provider alternative to OSCache. Of course OSCache is still available in source and binary via Maven and a few other places. But to give everybody a piece of mind and even more choices, we figured that now is a good time to start supporting EhCache.
So here is the first cut of the EhCache provider: http://svn.apache.org/repos/asf/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/cache/EhCacheQueryCacheProvider.java It was committed to trunk the other day and will be a part of Cayenne 3.1. Still untested, so if somebody wants to give it a try prior to 3.1M3 release, you are welcome to grab it from SVN. Also it should be portable to 3.0.x with minimal effort. Cheers, Andrus