[hibernate-issues] [JIRA] (HHH-12129) Fix expected exceptions on various Query methods