[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5189) Same table is mapped twice but different primary keys. Giving error while secondPassCompileForeignKeys.