Example usage for org.hibernate.cache.jcache.internal JCacheRegionFactory subclass-usage

List of usage examples for org.hibernate.cache.jcache.internal JCacheRegionFactory subclass-usage

Introduction

In this page you can find the example usage for org.hibernate.cache.jcache.internal JCacheRegionFactory subclass-usage.

Usage

From source file org.openvpms.component.business.dao.hibernate.cache.WorkaroundJCacheRegionFactory.java

/**
 * Workaround for https://hibernate.atlassian.net/browse/HHH-12531 JCache existing cache not detected.
 * This allows ehcache.xml to be read from the classpath without requiring a file:// URI.
 * Based on https://discourse.hibernate.org/t/hibernate-5-3-with-ehcache-3-5-2-configuration-problem/789/8
 *
 * @author Tim Anderson