[hibernate-issues] [JIRA] (HHH-11686) Improve TREAT handling