[hibernate-commits] [hibernate/hibernate-orm] 611836: HHH-16240 - Add test and fix for issue, and refact...