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