Back to all use cases
Hibernate ORMInsurance

The ORM tied to the namespace you can't leave yet

An insurer's policy systems run Hibernate ORM 5.3 on javax.persistence, a series whose stable support ended on 19 January 2026. Moving to a newer Hibernate means Jakarta Persistence, which touches every entity and the application servers around it.

Challenge

The Hibernate maintenance policy commits to the latest stable series only, now 7.4, and says there is no official long-term community support. The last 5.3 release listed on hibernate.org is 5.3.39.Final, from 29 June 2026, and the project labels the series end of life. Any fix that matters to 5.3 after that has to come from somewhere else.

The upgrade is a platform change. Hibernate 5.3 implements JPA 2.2 and runs on Java 8, 11 or 17. Hibernate 6.2 targets Jakarta Persistence 3.1, and every 7.x series needs Java 17 or later. A 5.3 application on Java 8 changes the runtime and the ORM at once, and the namespace change reaches every entity, repository and query class.

The ORM also rarely stands alone. In an insurer's estate Hibernate usually arrives with the application server or the framework, so the version in use is set by that server, and the Jakarta move has to be planned with the server upgrade, not before it.

There is one honest scoping point. The only advisory published for hibernate-orm at the time of writing, GHSA-834x-qc2r-wc59 of 28 September 2026, says 6.x and earlier are unaffected. The case for patching 5.3 is the next advisory, which the project will not fix on that series.

Environment

Policy administration, rating and claims systems built on Hibernate 5.3 with javax.persistence entities, running on Java 8 or 11 inside application servers or Spring applications. Several of the systems are vendor-maintained, and their release calendars are not the insurer's.

The applications are long-lived and heavily tested, and a change to the ORM means regression testing of every query and mapping.

Options

Upgrade to Hibernate 7.4. It is the supported series, and it needs Java 17 or later and the Jakarta Persistence move in one step.

Stage the move through Hibernate 6. It is Jakarta EE 10 and Java 11 or later, but 6.2 is already end of life and 6.6 is in limited support, where the project says releases are not guaranteed.

Tie the move to the application server upgrade. It avoids doing the work twice, but it makes the date depend on a project that is not yours.

Stay on 5.3 with no fixes. It costs nothing now and leaves every future advisory open.

Run patched 5.3 builds, and schedule the Jakarta move with the servers around it.

Approach

OSSeva Patch ships signed, patched builds of Hibernate ORM 5.3 with mappings, HQL and the Java version unchanged. Critical vulnerabilities (CVSS 9.0 or higher) are patched within 48 hours and High within 7 days, and everything else goes into a scheduled batch. Builds arrive through the repository manager the insurer already uses, with an SBOM and VEX statements, so the entity classes and the application server stay as they are.

OSSeva Assure starts with an inventory of the Hibernate versions in the estate and how each is packaged, whether in the application, in a Spring dependency or inside a server module. It then writes the upgrade plan, with the compliance documentation an insurer's audit teams ask for, and sequences the Jakarta move with the application servers and Java versions around it.

What this delivers

The engagement delivers a Hibernate 5.3 estate that keeps receiving fixes on the series it runs, and an inventory and plan that put the Jakarta move on the insurer's calendar. OSSeva Hibernate support is priced per application. Book a discovery call for a quote.

Go deeper

Questions

Frequently asked questions

Book a 15-minute call

Is Hibernate ORM 5.3 end of life?

Yes. Stable support ended on 19 January 2026, and the project now labels the series end of life. A late release, 5.3.39.Final, came on 29 June 2026, with nothing promised after it.

Does Hibernate 6 need the Jakarta namespace?

Yes. Hibernate 6.2 targets Jakarta Persistence 3.1, so entities and queries move from javax.persistence to jakarta.persistence. Every 7.x series needs Java 17 or later as well.

Which Hibernate versions does OSSeva patch?

Hibernate ORM 5.3, 6.2, 6.6 and 7.1 to 7.3, which left stable support in 2026. Other versions are assessed case by case.

Does Hibernate 5.3 have a known vulnerability?

The one published hibernate-orm advisory, GHSA-834x-qc2r-wc59, says 6.x and earlier are unaffected. Patching 5.3 covers advisories that are published later, which the project does not fix on that series.

See every EOL & CVE-patching use case

All use cases
Book a call