3 Integrating Hibernate and Coherence
Oracle Coherence can be integrated with Hibernate, an object-relational mapping tool for Java environments. The functionality in Oracle Coherence and Hibernate can be combined such that Hibernate can act as the Coherence cache store or Coherence can act as the Hibernate L2 cache.
If you are interested in using Coherence with Hibernate, see the Coherence Hibernate Integration project that is part of the Coherence Community. Coherence Community projects provide example implementations for commonly used design patterns based on Oracle Coherence.
Select a released integration version whose documented dependency set supports your framework, Java runtime and Coherence release. Pin that integration and use its BOM/dependency constraints; a matching version number alone does not establish compatibility. Use its managed Session/client lifecycle, package model/POF and generated application trust metadata on the actual runtime classpath, and test startup, representative operations, restart and shutdown under the hardened default. See Building Examples with Application Security Metadata and Coordinating Framework Configuration Health and Metrics. Do not mix container-provided Java EE libraries with an integration built for Jakarta namespaces.