[hibernate-issues] [JIRA] (HHH-7735) Subclass entity in a join produces wrong SQL query