We just released today a new maintenance release of Hibernate ORM 5.3.

What’s new

Bug fixes

This release mostly contains bugfixes:

  • HHH-12492 - JPA delete query generated has missing table alias and thus incorrect semantics

  • HHH-12835 - Wrong assertion in BatchFetchQueueHelper

  • HHH-12846 - Merge cascade of collection fails when orphan removal enabled with flush mode commit

  • HHH-12847 - NullPointerException in FetchStyleLoadPlanBuildingAssociationVisitationStrategy::adjustJoinFetchIfNeeded

  • HHH-12868 - Using CacheConcurrencyStrategy.NONE leads to a NPE when trying to load an entity

  • HHH-12869 - SingletonEhcacheRegionFactory initialization fails

The fix for HHH-12847 might have consequences on your applications if you are using lock options to load your entities: prior to the fix, the lock mode if set by lock options was ignored and thus not applied. Note that it only concerns you if you are using lock options, using lock modes directly was already working correctly.

Dependency upgrade

You should update your ByteBuddy dependency to 1.8.15 if you define it manually.

Security manager support with ByteBuddy as bytecode provider

Since ByteBuddy became our default bytecode provider, we did not support running with the security manager enabled. This is now possible.

Full changelog

You can find the full list of changes here (or, for people without a Hibernate Jira account, here).

Getting 5.3.4.Final

All details are available and up to date on the dedicated page on hibernate.org.

Feedback, issues, ideas?

To get in touch, use the usual channels:

Back to top