这个问题与我在这个问题上的问题有关,但并不完全相同:
Person + PersonPartDeux +--UserPerson + DersonPartDeux (note the D) +--Userjava.lang.NullPointerException
at org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecond
column.PropertyName);,当我创建关系时,我在迁移时出现错误:“无法将导航属性'LettreClePrincipale‘添加到实体类型'LettreCleAssociation’中,因为实体类型‘lettreCleAssociation.’上已经存在同名的属性。”} }
{
public