Many NoSQL stores, one API to access them
Hibernate OGM provides Java Persistence (JPA) support for NoSQL solutions. It reuses Hibernate ORM’s engine but persists entities into a NoSQL datastore instead of a relational database.
We know you have questions, we’ll answer them in the FAQ.
Wide range of backends
OGM talks to NoSQL backends via store-specific dialects. The main repository includes the following dialects:
-
Key/Value: Infinispan (embedded and remote)
-
Document: MongoDB
-
Graph: Neo4j (embedded and remote)
Dialects for other NoSQL datastores are maintained by the community:
Your favorite NoSQL store isn’t listed here? We’d love to get your help for adding it.
Rich query capabilities
Hibernate OGM supports several ways for searching entities and returning them as Hibernate managed objects:
-
JPQL queries (we convert them into a native backend query)
-
datastore specific native queries
-
full-text queries, using Hibernate Search as indexing engine
And more…
-
When JPA isn’t enough, Hibernate OGM extends it with family-specific and product-specific options. That way, the power of the backend is at your fingertips. All that in a type-safe way.
-
Mixing several NoSQL datastores in one application, e.g. use Neo4j for your friendship graph and MongoDB for your blog posts. Or mix NoSQL and relational databases.
-
Support for implicit data migrations upon data load (later)
-
Denormalize data declaratively for faster retrieval (later)
Still have questions? Check our FAQ.
Want to see it in action? Move on to the
getting started guide.
Latest news
Hibernate OGM 5.4.1.Final release
2018-12-18Hibernate OGM 5.4.1.Final has been released! The feature packs included in this release are now compatible with WildFly 14 and we added support for the @OrderBy annotation. A...
Hibernate OGM 5.4.0.Final release
2018-10-30Hibernate OGM 5.4.0.Final has been released! Here’s a list of the main changes compared to version 5.3.1.Final: Infinispan remote transactions over HotRod client JPQL and native queries support...
Hibernate OGM 5.4.0.CR1 release
2018-10-01Hibernate OGM 5.4.0.CR1 has been released! Here’s a list of the main changes: We support Infinispan remote transactions over HotRod client Java types java.time.LocalDate, java.time.LocalDateTime and java.time.LocalTime are...
Hibernate OGM 5.4.0.Beta2 release
2018-07-05Hibernate OGM 5.4.0.Beta2 has been released! Here’s a list of the main changes: We support server side indexes definition for fast queries with Neo4j. We support scripting and...
Hibernate OGM 5.4.0.Beta1 release
2018-05-25Hibernate OGM 5.4.0.Beta1 has been released! The main differences from the previous release is the upgrade to Hibernate ORM 5.3.0.Final, the support for Infinispan Remote native and...
Hibernate OGM 5.4.0.Alpha1 is out
2018-04-17We’re happy to announce the release of Hibernate OGM 5.4.0.Alpha1. Hibernate OGM is now compatible with Hibernate ORM 5.3 (still a candidate release) and JPA 2.2. We...