Port hibernate-ehcache to the new caching SPI, but deprecate
Deprecate hibernate-ehcache module as it is using Ehcache 2 as its back-end, which is deprecated itself in favor of Ehcache 3. Ehcache 3 can be easily used instead by using the hibernate-jcache module and have Ehcache 3 (which is a JCache implementor) properly registered with JCache.
Deprecated in favor of either:
hibernate-jcache in combination with Ehcache 3 (which is a JCache provider).
the RegionFactory implementation from Ehcache, if/when they provide that.
hibernate-ehcache is based on Ehcache 2, which is no longer supported - Ehcache 3 is the one supported by the Ehcache team.