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