Today, we published a new maintenance release of Hibernate ORM 6.1: 6.1.4.Final.

What’s new

This release introduces a few minor improvements as well as bug fixes.


Insert from Select

When an insert from select is executed


session.createMutationQuery("insert into TestEntity(id, name) select 1, 'abc' from TestEntity e").executeUpdate();

if the identifier is assigned, an unnecessary multi-table insert is no longer generated (see HHH-15527).

Second Level Cache Key

Optimised 2nd level cache size for Redis cache (see HHH-15500).


Insert from Select

Setting hibernate.default_schema was causing an error when an insert from select was executed (see HHH-15517).

Enum and Query Parameters

A problem causing an exception when a query with an enum type parameter is executed has been fixed (see HHH-15498).


class Event {

    private Type type;

enum Type {

session.createMutationQuery("DELETE FROM Event WHERE (:type IS NULL OR type = :type)");

Stored Procedure and ParameterMode.REF_CURSOR

It is now possible to register a Stored Procedure parameter of type ResultSet and ParameterMode.REF_CURSOR (see HHH_15542).

You can find the full list of changes in this version here.


For additional details, see:

Feedback, issues, ideas?

To get in touch, use the usual channels:

Back to top