Hibernate throwing NullPointerException - processFkSecondPassInOrder

前端 未结 3 694
既然无缘
既然无缘 2020-12-20 04:21

Has anyone seen this message before?

There is some discussions on Hibernate forums with not much clarity as to what the issue might be.

We are running Hibern

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-20 04:43

    Just experienced this where webapp A used library B, and we'd added a dependency from library B to library C (i.e. B.Foo having a ManyToOne relationship with C.Bar), but the Hibernate config for webapp A didn't include library C in the list of packages to scan. Result: Hibernate didn't know about the entities from library C being referred to.

提交回复
热议问题