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

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

该错误是,在一个hibernate的session中,有两个对象(即内存地址不同),但id相同,致使,hibernate不知保存哪一个好导致的。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章