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:
网上搜了下,这个异常产生原因比较多,我自己的原因是,插入多条数据时,数据的主键相同所以报错
..................
Caused by: org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session:
网上搜了下,这个异常产生原因比较多,我自己的原因是,插入多条数据时,数据的主键相同所以报错
相关文章推荐
- 转:hibernate删除时的异常 deleted object would be re-saved by cascade (remove deleted ob
- 论文笔记:Faster R-CNN:Towards Real-Time Object Detection with Region Proposal Networks
- Objective-C MD5 And SHA And HMAC-SHA
- Object-C--->Swift之(九)延迟存储属性
- JSONObject.toBean(JSONObject jsonObject, Class beanClass)时,防止时间类型为系统默认时间
- Objective-C中的Block
- tableView视差滚动
- Swift项目兼容Objective-C问题汇总
- Objective-C语言编写(OC)打僵尸小游戏源码
- 在主线程中慎用WaitForSingleObject (WaitForMultipleObjects)
- Object-C--->Swift之(八)类和结构体
- 浅析Objective-C的copy
- Objective-C Runtime学习笔记
- Objective-C 协议最基本解释
- Objective-C与JavaScript交互的那些事
- Objective-C Runtime 运行时之六:拾遗(转载)
- Objective-C Runtime 运行时之五:协议与分类(转载)
- The Browser Object Model
- Objective-C Runtime 运行时之四:Method Swizzling(转载)
- Objective-C Runtime 运行时之三:方法与消息(转载)