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