[hibernate-issues] [JIRA] (HHH-12942) Correlating inverse association produces wrong SQL