Registry / orm / hibernate-ehcache

hibernate-ehcache

JSON →
library5.5.6javamavenunverified

Hibernate ORM integration with Ehcache for second-level caching.

<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-ehcache</artifactId> <version>5.5.6</version> </dependency>
INSTALL
IMPORT
SIG · HIBERNATE-EHCACHE
H
hibernate-ehcache
ormjavav5.5.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EhCacheRegionFactory
org.hibernate.cache.ehcache.EhCacheRegionFactory

Configures Hibernate to use Ehcache as second-level cache.

import org.hibernate.cache.ehcache.EhCacheRegionFactory; import org.hibernate.cfg.Configuration; public class Main { public static void main(String[] args) { Configuration cfg = new Configuration(); cfg.setProperty("hibernate.cache.region.factory_class", EhCacheRegionFactory.class.getName()); System.out.println("Configured Ehcache"); } }
Debug
Known issues
breakingThis module is deprecated in Hibernate 6; use hibernate-jcache instead.
fix
Use org.hibernate.orm:hibernate-jcache with a JCache provider.
affects: >=6.0
Upgrade
Version history
5.5.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
Resources
hibernate-ehcache — mvn dependency:get hibernate-ehcache · libregistry