[hibernate-issues] [JIRA] (HHH-7915) Inherited foreign keys which reference a non primary key column incorrectly reference the primary key column