Coherence Hibernate L2 integration allows you to specify a system property that indicates the configuration of the coherence cache that will be used by the L2 cache. If you specify the βnormalβ configuration of the reconciliation cache in the same file, this will allow you to access the caches through CacheFactory.getCache.
-Dtangosol.coherence.cacheconfig = fetch cache config.xml -Dtangosol.coherence.hibernate.cacheconfig = fetch cache config.xml
You can download the example here: http://coherence.oracle.com/download/attachments/16730/hibernate-sample-src.jar
source share