[hibernate-issues] [JIRA] (HHH-10839) Restore some lost backwards compatibility of the legacy org.hibernate.Query