18 Working with Hibernate OGM
This chapter covers
- Introducing Hibernate OGM
- Building a simple MongoDB Hibernate OGM application
- Switching to the Neo4j NoSQL database
The world of databases is extremely diverse and complex. Besides the challenges of working with different relational database systems, the NoSQL world may add to these challenges. One goal of the persistence frameworks is to ensure portability of the code, so we’ll now look at the Hibernate OGM alternative and how it tries to support the JPA solution working with NoSQL databases.
18.1 Introducing Hibernate OGM
A NoSQL database is a database that keeps data in a format different than relational tables. In general, NoSQL databases provide the advantage of flexible schemas, meaning ...
Get Java Persistence with Spring Data and Hibernate now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.