您的位置:首页 > 移动开发 > Objective-C

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

2016-01-29 13:33 369 查看
org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [com.dodomelon.dao.po.ElecmgProductInout#1435626946138_1_414010011]; nested exception is org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session: [com.dodomelon.dao.po.ElecmgProductInout#1435626946138_1_414010011]

..................

Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session:

 

网上搜了下,这个异常产生原因比较多,我自己的原因是,插入多条数据时,数据的主键相同所以报错

 

 

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: