# Hibernate ORM

> Idiomatic persistence for Java and relational databases

Source: https://talira.ai/catalog/hibernate-orm-a779raj9
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework
- Categories: [libraries / databases / orm](https://talira.ai/categories/libraries/databases/orm), [languages / java](https://talira.ai/categories/languages/java)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Supports: [Jakarta Persistence](https://talira.ai/standards/jakarta-persistence.md)[^2]
- Backed by: [Hibernate](https://talira.ai/orgs/hibernate.md)

Hibernate ORM is the object/relational mapping library for Java and relational databases, more than two decades old. Beside its own native API it implements the Jakarta Persistence (JPA) specification, so it runs in Java SE applications, application servers such as WildFly and frameworks such as Quarkus. Persistent classes are plain Java with inheritance, polymorphism and collections, mapped with Jakarta Persistence annotations or XML. It has flexible fetching strategies, a two-level cache, optimistic locking with automatic versioning, the Hibernate Query Language (HQL), which Hibernate Processor validates at compile time, native SQL when needed, and temporal entities and audit logging. It is released under the Apache License 2.0 since version 7.0.

## Links

- Website: https://hibernate.org/orm/
- GitHub: https://github.com/hibernate/hibernate-orm
- Docs: https://hibernate.org/orm/documentation/

## Problems it solves

- map my Java classes to database tables without writing JDBC code
- query relational data from Java with type-checked queries
- keep an audit history of changes to my database rows in a Java app

## Features

- implements Jakarta Persistence (JPA) beside its native API
- Hibernate Query Language (HQL), validated at compile time by Hibernate Processor
- flexible fetching strategies and a two-level cache
- optimistic locking with automatic versioning, or pessimistic locks
- temporal entities and audit logging
- native SQL queries in the database dialect

## Trust

Overall: 0.69 out of 1.
Signals: maintenance 1.00, adoption 0.76, momentum 0.46, community 1.00, backing 0.30, extensibility 0.00.

- last commit 3 days ago
- 1044 commits in the last 90 days
- latest release 8.0.0.CR2 5 days ago
- 6.5k GitHub stars
- 908 contributors
- accepts sponsorship (Github, Open Collective, Custom)
- backed by Hibernate

## Alternatives

- [Slick](https://talira.ai/catalog/slick-q0ye0vc9.md): Functional Relational Mapping for Scala
- [MyBatis](https://talira.ai/catalog/mybatis-ba3d1sm1.md): SQL mapper persistence framework for Java
- [Exposed](https://talira.ai/catalog/exposed-ysjjkzs5.md): The SQL library for Kotlin
- [jOOQ](https://talira.ai/catalog/jooq-syq7be6j.md): Typesafe SQL query builder and code generator for Java
- [Spring Data](https://talira.ai/catalog/spring-data-brcxx839.md): A consistent Spring programming model for data access

## Sources

[^1]: https://github.com/hibernate/hibernate-orm/blob/main/LICENSE.txt (checked 27 Nov 2026)
[^2]: https://hibernate.org/orm/ (checked 27 Nov 2026)
