11:02 "http-bio-8080"-exec-6 62026 ERROR StatusDao:141 [handleException] - No row with the given identifier exists:[org.bjtu.wip.thirdparty.weibo4j.model.User#3478430760]org.hibernate.ObjectNotFoundException:No row with the given identifier exists:[o

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/20 08:45:25
11:02"http-bio-8080"-exec-662026ERRORStatusDao:141[handleException]-Norowwiththegivenidentifierexist

11:02 "http-bio-8080"-exec-6 62026 ERROR StatusDao:141 [handleException] - No row with the given identifier exists:[org.bjtu.wip.thirdparty.weibo4j.model.User#3478430760]org.hibernate.ObjectNotFoundException:No row with the given identifier exists:[o
11:02 "http-bio-8080"-exec-6 62026 ERROR StatusDao:141 [handleException] - No row with the given identifier exists:[org.bjtu.wip.thirdparty.weibo4j.model.User#3478430760]
org.hibernate.ObjectNotFoundException:No row with the given identifier exists:[org.bjtu.wip.thirdparty.weibo4j.model.User#3478430760]
这个是什么错误?应该怎么改正?

11:02 "http-bio-8080"-exec-6 62026 ERROR StatusDao:141 [handleException] - No row with the given identifier exists:[org.bjtu.wip.thirdparty.weibo4j.model.User#3478430760]org.hibernate.ObjectNotFoundException:No row with the given identifier exists:[o
这个和我遇到过的Hibernate错误差不多,原因是 你的数据库里面有脏数据,
即:外键关联的对应主键内容不存在,就像报的这个错误,查询出的User没有了引用,
你可以具体自己用一个打印,看看是哪个,下面的问题你自己应该能够解决了.