Hi, I need to create a custom implementation of 2nd level cache and I can't use Ehcache (since my hosting provider - Heroku - does not support it). I've tried to google for examples of cache implementation, but everything I've found was connected to Hibernate 3.x's API (CacheProvider interface), that is currently deleted from hibernate-core. As I've understood, I should use Regions and RegionFactory instead. But I did not understand how it should be used because there are any definition or example of its usage in hibernate docs. Can somebody suggest me any resources or articles where I can read about Regions and RegionFactory and how them should be used for L2 cache implementation? Thx.
|