[hibernate-commits] [hibernate/hibernate-orm] b28381: HHH-17004 - Add test and fix for issue