MongoDB Extension for Hibernate ORM Now in Public Preview
November 5, 2025
What it is: Hibernate is an object-relational mapping (ORM) framework for Java that maps Java classes to database tables and Java data types to relational data types. It enables developers to query and retrieve data efficiently. The MongoDB Extension for Hibernate, currently in public preview, allows Java developers to create modern applications with MongoDB while leveraging Hibernate's user-friendly features.
Who it’s for: The extension gives Java developers the freedom and flexibility to build modern applications that combine the benefits of MongoDB’s document model with familiar and ergonomic Hibernate features, such as Java Persistence API (JPA) annotations, Hibernate Query Language (HQL) support, Criteria Queries, and caching. This extension also supports querying using the MongoDB Query API for more advanced operations, such as multi-collection joins and vector search queries.
Why it matters: Java developers can now leverage familiar Hibernate features such as @Entity, @Id, and Session.persist() for entity operations and queries. This integration offers the best of both worlds, combining established Hibernate paradigms while enjoying the schema flexibility of MongoDB.
Related Content
Introducing the MongoDB Extension for Hibernate ORM in Public Preview
MongoDB Extension for Hibernate ORM
Getting Started With Hibernate ORM and MongoDB
Modeling Relationships With Hibernate ORM and MongoDB