org.springframework.dao.DuplicateKeyException: a different object with the same identifier value was
使用Hibernate写update方法时,出现了org.springframework.dao.DuplicateKeyException: a different object with the same identifier value was already associated with the session:意思就是另一个对象的id(id同值)已经被session关联了。
原创
2017-04-07 13:55:17 ·
5274 阅读 ·
0 评论