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不知保存哪一個好導致的。

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