Using Ehcache instead of Mybatis internal cache

Ehcache is a very robust in-memory cache. In production, Ehcache could be better solution for Mybatis cache (More on Mybatis internal cache) How to use Ehcache as Mybatis cache (2nd level cache) You can set Mybatis 2nd level cache (Global cache) as 3rd party. (You can not change local session cache type) Import required library … Continue reading Using Ehcache instead of Mybatis internal cache