If you need this sort of fix in Hibernate 5, then you’ll probably have to become a Red Hat customer and open a support ticket. Also read https://github.com/hibernate/hibernate-orm/wiki/Huge-Project,-Small-Team