首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 系统运维 >

org.springframework.orm.hibernate3.HibernateSystemException错误解析

2012-08-30 
org.springframework.orm.hibernate3.HibernateSystemException异常解析org.springframework.orm.hibernat

org.springframework.orm.hibernate3.HibernateSystemException异常解析

org.springframework.orm.hibernate3.HibernateSystemException:         More than one row with the given identifier was found: 110118153632, for class: com.dt.health.webcenter.comple.medicalservice.outtreatment.treatmedication.MedicationRecordBean; nested exception is org.hibernate.HibernateException: More than one row with the given identifier was found: 110118153632, for class: com.dt.health.webcenter.comple.medicalservice.outtreatment.treatmedication.MedicationRecordBeanat org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:676)at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)

??? 这个异常的大致意思就是说 这个对象相关的记录并不只有一行数据,然后发现是自己的配置文件写错了,一对多的关系配置成了一对一

热点排行