[hibernate-issues] [JIRA] (HHH-9591) The org.hibernate.annotations.ForeignKey does not work correctly in some cases