[hibernate-commits] [hibernate/hibernate-orm] ee76f0: HHH-17776 - Add test and fix