[hibernate-issues] [JIRA] (HHH-10504) SQLQuery with join returns the joined entity instead of the root one