[ https://issues.apache.org/jira/browse/JCR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Padraic Hannon updated JCR-872: ------------------------------- Attachment: ocm_cache.zip Here is the work I have done so far. I do not have test cases specific for this implementation as I have been working on these files against my existing internal test cases. To use this from within Spring (it requires SessionFactory to make everything work), wire it up as a replacement to JcrMappingTemplate: <bean id="secondLevelCache" class="org.apache.jackrabbit.ocm.objectconverter.cache.ehcache.SynchronizedEhCacheObjectCache" singleton="true"> <constructor-arg index="0" ref="jcrSessionFactory"/> </bean> <bean id="vdmMappingTemplate" class="org.apache.jackrabbit.ocm.spring.JcrCachedMappingTemplate"> <constructor-arg index="0" ref="jcrSessionFactory"/> <constructor-arg index="1" ref="jcrMappingDescriptor"/> <constructor-arg index="2" ref="secondLevelCache"/> <property name="allowCreate" value="false"/> </bean> > Cache framework integration > --------------------------- > > Key: JCR-872 > URL: https://issues.apache.org/jira/browse/JCR-872 > Project: Jackrabbit > Issue Type: Task > Components: jackrabbit-ocm > Reporter: Christophe Lombart > Attachments: ocm_cache.zip > > > OCM should work with a cache manager. > * The Spring frameworks offer a nice solution to integrate an application > with a cache manager (based on AOP). > * Which cache framework to use ? oscache, JCS, ... > * A more detailled proposal is required -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.