This is a new method in the latest Hibernate ORM 6.5 snapshot. This method has been added as fix for HHH-18221