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
假设:A对象的主键id为1,并且已经绑定到了hibenate的session中。
这时又来了一个B对象,它的主键也为1。
当将B对象也邦定到session的使用,hibe
原创
2014-12-12 13:22:36 ·
305 阅读 ·
0 评论