a different object with the same identifier value was already associated with the session:

hibernate操作:

实例化两个model类,更新时会提示

 a different object with the same identifier value was already associated with the session: 
 
解决方法:merge

posted on 2015-02-11 18:05  zhouyu  阅读(222)  评论(0编辑  收藏  举报

导航