首页 > 系统服务 > 详细

org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session异常解决办法

时间:2014-05-14 23:39:49      阅读:647      评论:0      收藏:0      [点我收藏+]

org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session异常解决办法

 

为什么还会说已经存在相同的session了呢。然后每次将项目重启后第一次编辑的时候问题不会触发,只有当第二次操作的时候才会出现这个问题。

解决办法:关闭session。好好检查操作完成后有没有关闭会话。

org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session异常解决办法,布布扣,bubuko.com

org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session异常解决办法

原文:http://www.cnblogs.com/gavinYang/p/3728762.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!