Skip to content
whichdevtool?
Categories ▾

Frameworks and UI

Frontend and full-stack frameworks Backend frameworks UI component libraries

Hosting

VPS and cloud servers App hosting and PaaS

Data

Managed databases File and object storage ORMs and database toolkits

AI

AI model APIs

Email

Transactional email APIs Email marketing and newsletters

Payments

Payments and billing

Domains and edge

Domain registrars CDN, DNS and edge security

Operations and identity

Monitoring, uptime and error tracking Auth and identity Background jobs, queues and workflows
Stacks Directory
Ctrl K

Search directory
Menu
StacksDirectory Pricing changes Glossary
VPS and cloud servers App hosting and PaaS Managed databases Transactional email APIs Email marketing and newsletters Domain registrars CDN, DNS and edge security Monitoring, uptime and error tracking Auth and identity Frontend and full-stack frameworks Backend frameworks UI component libraries AI model APIs File and object storage Payments and billing Background jobs, queues and workflows ORMs and database toolkits
  1. Home
  2. ORMs and database toolkits
  3. Hibernate ORM
HO

Java ORM and Jakarta Persistence implementation · by Hibernate team

Hibernate ORM

Java's most established ORM and the reference-style Jakarta Persistence (JPA) implementation, with HQL, two-level caching and support for more than a dozen databases; Apache 2.0 licensed since version 7.

Visit hibernate.org ↗ Alternatives Open source Open source Self-hostable
hibernate.org
Hibernate ORM homepage
§1

Overview

Hibernate has been in production use for more than two decades and heavily shaped the JPA specification, now Jakarta Persistence. You annotate entity classes, obtain a Session or EntityManager, and Hibernate tracks changes and writes them on flush, with optimistic locking by default, flexible fetching strategies and a two-level cache. HQL is an object-oriented SQL dialect, and Hibernate Processor can validate HQL at compile time.

Hibernate is tested daily on PostgreSQL, MySQL, MariaDB, Db2, Oracle, SQL Server, Sybase ASE, EDB, TiDB, HANA, CockroachDB, H2 and HSQLDB, with built-in Spanner support and community dialects for older databases and incubating SQLite support. It can generate schema DDL, but production teams usually manage migrations with Flyway or Liquibase.

Hibernate ORM 7.0 (19 May 2025) was the first final release under the Apache License 2.0 instead of LGPL 2.1, and moved to Jakarta Persistence 3.2 and Java 17. The 7.4 series, current stable since May 2026, adds temporal and audited entities; 8.0 is in beta for Jakarta Persistence 4.0. Spring Boot 4.1 pairs with Hibernate 7.4.

§2

Pricing and plans

Plan Price What you get
Hibernate ORM $0 Apache 2.0 since 7.0; commercial support available through third parties

Hibernate ORM is free. The project links to commercial support offerings (for example for end-of-life series), which are priced by their vendors and not recorded here.

Source: hibernate.org/orm/releases/ · prices as published, excluding tax.

§3

What it does

Jakarta Persistence
Full JPA implementation plus Hibernate's native API, usable in Spring Boot, Quarkus, WildFly or plain Java SE.
HQL and Criteria
Object-oriented query language with broad ANSI SQL coverage, compile-time validation via Hibernate Processor.
Caching and fetching
Tunable fetch strategies and a two-level cache architecture.
Temporal and audit
Since 7.4, temporal and audited entities even on databases without native temporal tables.
Jakarta Data
Repository-style programming model supported through Hibernate's implementation.
Wide dialect support
Built-in dialects for major commercial and open-source databases, plus community dialects.
§4

Strengths and limitations

Strengths

  • Very mature, with decades of production use and documentation
  • Standard JPA API, so skills transfer between frameworks
  • Broad database support including Oracle, Db2 and HANA
  • Apache 2.0 licence since 7.0 removes LGPL concerns

Limitations

  • Large conceptual surface: sessions, persistence context, lazy loading and flush modes need care to avoid N+1 queries and surprises
  • No built-in versioned migration tool; teams add Flyway or Liquibase
  • Older series reach end of life quickly (7.0, 7.1 and 7.3 are already end-of-life)
  • The relicensing dropped the Teradata dialect and hibernate-ucp module
§5

Who it suits

Good for

  • Spring Boot and Quarkus applications
  • Enterprise Java systems on Oracle, SQL Server or Db2
  • Domain models with inheritance and complex relationships

Look elsewhere if

  • Teams that want SQL-first, type-safe query building (jOOQ fits better)
  • Small services where a lightweight JDBC wrapper is enough
§6

Pricing history

  • 19 May 2025

    Hibernate ORM 7.0 released

    7.0.0.Final shipped as the first final release under Apache 2.0, requiring Java 17 and implementing Jakarta Persistence 3.2. Source ↗

  • 14 Mar 2025

    Hibernate ORM relicensed from LGPL to Apache 2.0

    Hibernate announced ORM is relicensed under Apache 2.0 from 7.0 onwards (7.0.0.Beta5, 21 March 2025, was the first Apache release); 6.x and older stay LGPL 2.1. The Teradata dialect and hibernate-ucp were dropped as a result. Source ↗

§7

Alternatives to Hibernate ORM

Tool From Free option Stages
SQLAlchemy Python SQL toolkit and ORM
— Open source
En
Ent Code-generated Go entity framework
— Open source
EO
Eloquent ORM Active Record ORM for Laravel
— Open source
DO
Doctrine ORM Data mapper ORM for PHP
— Open source
Da
Dapper .NET micro-ORM
— Open source
TypeORM Decorator-based TypeScript ORM
— Open source

All ORMs and database toolkits →

§8

Questions

What licence is Hibernate ORM under?

Apache License 2.0 since 7.0.0.Beta5 (March 2025); earlier versions remain LGPL 2.1.

Which Hibernate version should I use?

7.4 is the latest stable series as of September 2026; 8.0 is in beta for Jakarta Persistence 4.0.

Does Hibernate handle migrations?

It can generate or update schema, but versioned production migrations are usually done with Flyway or Liquibase.

Sources read for this page

  • https://hibernate.org/orm/
  • https://hibernate.org/orm/releases/
  • https://hibernate.org/orm/releases/7.0/
  • https://docs.hibernate.org/orm/7.0/whats-new/
  • https://in.relation.to/2025/03/14/orm-asl/
Spec sheet
From
Open source
Free tier
Free to self-host
Stages
HobbyIndieStartupScale-upEnterprise Suits indie, startup, scale-up, enterprise
Language
Java / Kotlin (JVM)
Approach
Full ORM (Jakarta Persistence)
Databases
Postgres, MySQL, Oracle, SQL Server, Db2, HANA, 7+ more
Migrations
Schema export only; use Flyway or Liquibase
Open source
Yes
Self-host
Yes
EU data
Not stated
Category
ORMs
Visit hibernate.org ↗

To report an out-of-date price or limit, use the correction form.

whichdevtool?

Developer and cloud tools compared on price, free tier and limits, each with its source. For side projects, solo developers and small teams.

Categories

  • VPS and cloud servers
  • App hosting and PaaS
  • Managed databases
  • Transactional email APIs
  • Email marketing and newsletters
  • Domain registrars
  • CDN, DNS and edge security
  • Monitoring, uptime and error tracking
  • Auth and identity
  • Frontend and full-stack frameworks
  • Backend frameworks
  • UI component libraries
  • AI model APIs
  • File and object storage
  • Payments and billing
  • Background jobs, queues and workflows
  • ORMs and database toolkits

Research

  • Directory
  • Stacks by project
  • Developer news
  • Pricing changes
  • Glossary

Site

  • About and methods
  • How we make money
  • Suggest a tool or fix
  • Privacy
© 2026 whichdevtool.com Prices change. Each tool page links to its source. We may earn a commission when you sign up through links on this site. How we make money