# hibernate/hibernate-orm

Idiomatic persistence for Java and relational databases

Repository: https://github.com/hibernate/hibernate-orm
Canonical: https://ross.abutalabs.com/products/hibernate-orm
Homepage: http://hibernate.org
Language: Java
License: Apache-2.0
License Family: permissive
Topics: hibernate, java, orm, jpa, jdbc, database, envers, jakarta-persistence, jakartaee, object-relational-mapper, object-relational-mapping, persistence, persistence-framework, hibernate-orm, sql
Last push: 2026-08-26T20:10:47+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 5812, "days_push": 7, "days_rel": 11, "gap_med": 1.0, "n_releases_24m": 187}
- flags: no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6470, forks 3810 (observed 2026-08-28T04:09:43.687691+00:00)

## What it is
Hibernate ORM is the de facto object-relational mapping library for Java, implementing the Jakarta Persistence (JPA) specification to map domain models to relational databases. It provides idiomatic persistence with features like lazy loading, caching, auditing (Envers), and integrates with the wider Hibernate ecosystem including Search and Reactive.

## Use cases
- map Java objects to relational database tables
- implement JPA persistence in a Spring Boot application
- audit entity changes over time with Envers
- manage database transactions and lazy loading in Java
- replace boilerplate JDBC code with an ORM
- index entities into Elasticsearch or Lucene for full-text search
- persist domain models reactively with a non-blocking API

## When to choose
- building Java or JVM applications backed by relational databases
- you want JPA/Jakarta Persistence compliance with a mature, battle-tested implementation
- you need advanced ORM features like second-level caching, auditing, or schema tooling
- you want ecosystem integration with Hibernate Search, Validator, or Reactive

## When to avoid
- you need raw SQL performance control and prefer lightweight query builders like jOOQ
- working with non-relational databases (consider Hibernate OGM or a dedicated driver)
- building a microservice where a simple data mapper or plain JDBC suffices
- you are not on the JVM platform

## Facets
- artifact type: library
- maturity: stable
- function: orm, database, database-driver, search-engine
- domain: databases, backend, web-development, developer-tools
- platform: jvm, cross-platform
- tags: jpa, jakarta-persistence, jdbc, sql, object-relational-mapping, envers, hibernate

## Member repositories
- hibernate/hibernate-orm (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:43.687691+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:44:35.774239+00:00, confidence not recorded.
  - homepage: http://hibernate.org (fetched 2026-08-29T08:41:30.874143+00:00, sha fc802a088443)
  - site_page: https://hibernate.org/orm/documentation (fetched 2026-08-29T08:41:30.887564+00:00, sha 7ea3c71705b5)
  - site_page: https://hibernate.org/orm/documentation/migrate (fetched 2026-08-29T08:41:30.889807+00:00, sha f8839376eabc)
  - site_page: https://hibernate.org/search/documentation (fetched 2026-08-29T08:41:30.895607+00:00, sha b4ce13430d6f)
  - site_page: https://hibernate.org/search/documentation/migrate (fetched 2026-08-29T08:41:30.915755+00:00, sha 0149c80b2e11)
  - site_page: https://hibernate.org/orm (fetched 2026-08-29T08:41:30.883207+00:00, sha 3c9ba7be528e)
  - site_page: https://hibernate.org/orm/releases (fetched 2026-08-29T08:41:30.885640+00:00, sha 491abdac3522)
  - site_page: https://hibernate.org/search (fetched 2026-08-29T08:41:30.891741+00:00, sha c6c9c50c37ad)
  - site_page: https://hibernate.org/search/releases (fetched 2026-08-29T08:41:30.893877+00:00, sha 3a58539ad5d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
