Hibernate ORM

Hibernate ORM

Java and Jakarta Persistence object-relational mapper with annotation or XML mappings, HQL, criteria and native SQL, two-level caching, optimistic locking, associations, inheritance and polymorphism, tested across PostgreSQL, MySQL, Db2, Oracle, SQL Server, MariaDB, H2, CockroachDB and other databases as a JPA implementation.

Hibernate ORM at hibernate.org/orm is a free Apache-2.0 Java Jakarta Persistence ORM with annotation or XML mappings, HQL, criteria and native SQL, two-level cache, optimistic locking, associations, inheritance and polymorphism, tested on PostgreSQL MySQL Db2 Oracle SQL Server Sybase ASE EDB TiDB MariaDB HANA CockroachDB H2 HSQLDB, Spanner support and third-party MongoDB extension, JPA implementation for Java SE and EE servers such as Quarkus, docs and GitHub source, no sold open-source tier, vendor support subscriptions separate (data as of Nov 22, 2026).

Visit Official Website

*This is an affiliate link, we may earn a commission at no extra cost to you.

Is Hibernate ORM free?

Hibernate ORM: Hibernate ORM is free open-source software under the Apache License 2.0, providing idiomatic persistence for Java and relational databases alongside its own native API and an implementation of the Jakarta Persistence specification. Persistent classes carry Jakarta Persistence annotations or XML mappings; HQL, the criteria API and native SQL express queries, a two-level cache and flexible fetching strategies tune performance, and optimistic locking with automatic versioning handles concurrent access. It is tested daily on PostgreSQL, MySQL, Db2, Oracle, SQL Server, Sybase ASE, EDB, TiDB, MariaDB, HANA, CockroachDB, H2 and HSQLDB, with built-in Spanner support and a third-party MongoDB extension. Source code and documentation are published on hibernate.org and GitHub; no paid commercial edition or per-seat license is sold by the open-source project, and Red Hat or other vendors may bundle support under their own subscriptions (data as of Nov 22, 2026). Check the official page for current status before relying on it.

Frequently Asked Questions

Is Hibernate ORM free?

The code is free to self-host, but a hosted plan from the vendor may not be. Hibernate ORM publishes its source, so cost depends on where you run it.

How much does Hibernate ORM cost?

Hibernate ORM is free open-source software under the Apache License 2.0, providing idiomatic persistence for Java and relational databases alongside its own native API and an implementation of the Jakarta Persistence specification. Persistent classes carry Jakarta Persistence annotations or XML mappings; HQL, the criteria API and native SQL express queries, a two-level cache and flexible fetching strategies tune performance, and optimistic locking with automatic versioning handles concurrent access. It is tested daily on PostgreSQL, MySQL, Db2, Oracle, SQL Server, Sybase ASE, EDB, TiDB, MariaDB, HANA, CockroachDB, H2 and HSQLDB, with built-in Spanner support and a third-party MongoDB extension. Source code and documentation are published on hibernate.org and GitHub; no paid commercial edition or per-seat license is sold by the open-source project, and Red Hat or other vendors may bundle support under their own subscriptions (data as of Nov 22, 2026). Usage volume, plan limits and add-ons can push the bill above the figures shown, so confirm the current numbers on the vendor page before committing.

Where can I check Hibernate ORM's current pricing?

On Hibernate ORM's official site, linked from this page. We only publish a price after reading the vendor's own pricing page, so if this page shows no number, it means no traceable public price is on file — not that the tool is free.

What is Hibernate ORM?

Persistent classes map to tables with annotations or XML, associations use standard Java collections, HQL and criteria queries work against objects rather than rows, and the cache plus fetch strategies tune database traffic in highly concurrent clusters.

How does pricing work?

The Hibernate ORM codebase is free Apache-2.0 and runs in Java SE or Jakarta EE environments; enterprise-grade support, managed distributions or bundled subscriptions are sold by vendors such as Red Hat under their own contracts, not by the open-source license itself.

How does Hibernate ORM compare with other tools in Dev Workflow & Productivity?

Hibernate ORM is listed in the Dev Workflow & Productivity category, alongside 2 other tools we track here. 2 of those 2 peers have a dated price we read from the vendor's own pricing page, and the table below shows each tool's pricing model next to the exact rate on file — so the comparison is between published numbers, not between marketing pages.

ToolPricing modelKey pricing on filePrice checked
Hibernate ORMOpen sourceHibernate ORM is free open-source software under the Apache License 2.0, providing idiomatic persistence for Java and relational databases alongside its own native API and an implementation of the Jakarta Persistence specification. Persistent classes carry Jakarta Persistence annotations or XML mappings; HQL, the criteria API and native SQL express queries, a two-level cache and flexible fetching strategies tune performance, and optimistic locking with automatic versioning handles concurrent access. It is tested daily on PostgreSQL, MySQL, Db2, Oracle, SQL Server, Sybase ASE, EDB, TiDB, MariaDB, HANA, CockroachDB, H2 and HSQLDB, with built-in Spanner support and a third-party MongoDB extension. Source code and documentation are published on hibernate.org and GitHub; no paid commercial edition or per-seat license is sold by the open-source project, and Red Hat or other vendors may bundle support under their own subscriptions (data as of Nov 22, 2026).Nov 22, 2026
SQLAlchemyOpen sourceSQLAlchemy is free open-source software distributed under the MIT license, the database toolkit for Python. Its Core layer provides a SQL expression language, schema constructs and connection pooling, while the ORM layer maps classes to tables with a session, relationship loading strategies and unit-of-work patterns; dialects cover PostgreSQL, MySQL, SQLite, Oracle, SQL Server and other databases, and the separate Alembic project provides schema migrations. Source code and documentation are published on the official site and GitHub; no paid commercial edition or per-seat license is sold by the project, while training and consulting may be offered separately under their own terms (data as of Nov 22, 2026).Nov 22, 2026
Entity FrameworkOpen sourceEntity Framework Core is free open-source software licensed under the MIT License, maintained by Microsoft under the .NET Foundation. It is a modern object-database mapper for .NET that supports LINQ queries, change tracking, persisted updates and schema migrations, with providers connecting to SQL Server, PostgreSQL, SQLite, Cosmos DB, MySQL, Oracle and other databases. Documentation, tutorials and the source repository are published on the Microsoft Learn site and GitHub; the runtime carries no per-seat license, while Microsoft support plans, Visual Studio subscriptions and third-party database providers carry their own separate terms (data as of Nov 22, 2026).Nov 22, 2026

3 of these 3 entries carry a specific price we read from the vendor's site. Where the column says there is no dated price on file, we have not verified a rate — treat that as unknown rather than free, and check the vendor's page before you budget for it.

Full pricing breakdown

Hibernate ORM's source code is publicly available, so you can run or build it yourself. The project may also sell a paid hosted or cloud plan — check the official site for current pricing.

Open source does not always mean every hosted version is free.

Key pricing: Hibernate ORM is free open-source software under the Apache License 2.0, providing idiomatic persistence for Java and relational databases alongside its own native API and an implementation of the Jakarta Persistence specification. Persistent classes carry Jakarta Persistence annotations or XML mappings; HQL, the criteria API and native SQL express queries, a two-level cache and flexible fetching strategies tune performance, and optimistic locking with automatic versioning handles concurrent access. It is tested daily on PostgreSQL, MySQL, Db2, Oracle, SQL Server, Sybase ASE, EDB, TiDB, MariaDB, HANA, CockroachDB, H2 and HSQLDB, with built-in Spanner support and a third-party MongoDB extension. Source code and documentation are published on hibernate.org and GitHub; no paid commercial edition or per-seat license is sold by the open-source project, and Red Hat or other vendors may bundle support under their own subscriptions (data as of Nov 22, 2026).

Estimate your monthly bill with our calculator →Or build a full stack around your budget →

Pricing Guides & Comparisons

Plan prices in these guides are read from each vendor's own pricing page, with the date we checked them.

⭐ Rate this tool

How would you rate this tool?

🚀 Never Miss a New AI Coding Tool

Join 1,000+ developers getting our weekly roundup: new AI tools, student free tiers, exclusive discounts, and side project deals. No spam, unsubscribe anytime.

Tool Information

  • Official Websitehibernate.org
  • CategoryDev Workflow & Productivity
  • PricingOpen Source
  • Price checkedNov 22, 2026

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates