Hibernate ORM

7.0 series development

Java Time Handling, Configurable Query Cache Layout, records as @IdClass, auto-enabled Filters, Key-based Pagination, Jakarta Data (tech preview)

Compatibility

Java 17 or 21
Jakarta Persistence 3.2

Not compatible with your requirements? Have a look at the other series.

See also the Compatibility policy and Maintenance policy.

Documentation

Documentation for Hibernate ORM 7.0 can be accessed through the links below:

HTML API (JavaDoc)

You can find more documentation for all series on the documentation page.

How to get it

Maven, Gradle...

Maven artifacts of Hibernate ORM are published to Maven Central. Most build tools fetch artifacts from Maven Central by default, but if that's not the case for you, see this page to configure your build tool.

You can find the Maven coordinates of all artifacts through the link below:

Maven artifacts

Below are the Maven coordinates of the main artifacts.

org.hibernate.orm:hibernate-core:7.0.0.Alpha1
Core implementation
org.hibernate.orm:hibernate-spatial:7.0.0.Alpha1
Spatial support
org.hibernate.orm:hibernate-envers:7.0.0.Alpha1
Envers audit support
org.hibernate.orm:hibernate-agroal:7.0.0.Alpha1
Agroal connection pooling
org.hibernate.orm:hibernate-hikaricp:7.0.0.Alpha1
HikariCP connection pooling
org.hibernate.orm:hibernate-c3p0:7.0.0.Alpha1
c3p0 connection pooling
org.hibernate.orm:hibernate-proxool:7.0.0.Alpha1
Proxool connection pooling
org.hibernate.orm:hibernate-jcache:7.0.0.Alpha1
JCache second-level caching

Direct download

Individual Maven artifacts may be downloaded directly from the Maven repository:

Maven Central subdirectory

See here for how to download all dependencies of your Maven project to a local directory on your filesystem.

See here for how to download an explicitly listed set of artifacts to a local directory on your filesystem.

More information about specific releases (announcements, download links) can be found here.

Getting started

If you want to start using Hibernate ORM 7.0, please refer to the getting started guide:

HTML

Migrating

If you need to upgrade from a previous series, please refer to the migration guide:

HTML

What's new

Hibernate ORM 7.0 is still in development:

  • some features may be incomplete;

  • newly introduced features may change in a backward-incompatible way before the stable release.

We encourage you to give it a try and to let us know of any bugs or problems you encounter.

Latest release announcement (2024-04-16): 7.0.0.Alpha1.

A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.

  • Jakarta Persistence 3.2

  • Java 17

  • Hibernate Models

  • mapping.xsd

  • HbmXmlTransformer

Development versions (SNAPSHOTS)

The latest development versions of Maven artifacts for Hibernate ORM are published to the OSSRH snapshots repository.

OSSRH snapshots subdirectory

You should only need those (unstable) versions for testing recently merged patches, and should never use them in production.

To consume these artifacts, you may need to configure your build tool to fetch artifacts from and to enable snapshots:

Maven Gradle

Releases in this series

7.0.0.Alpha1

2024-04-16

Jakarta Persistence 3.2, Java 17, Hibernate Models, mapping.xsd, HbmXmlTransformer

How to get it Getting started

Maven artifacts Resolved issues Release announcement

Back to top