remove the occurrences of org.hibernate.mapping.PrimaryKey
remove the occurrences of org.hibernate.mapping.ForeignKey