`

No row with the given identifier exists

阅读更多
org.hibernate.ObjectNotFoundException: No row with the given identifier exists

发生这个错误的原因是: 数据库中没有建外键关联,但是实体对象建了一对多关系,当被引用的表数据删除之后,引用它的对象加载的时候就会发生找不到的错误。
分享到:
评论
发表评论

文章已被作者锁定,不允许评论。

相关推荐

Global site tag (gtag.js) - Google Analytics