读书人

org.springframework.orm.hibernate3.

发布时间: 2012-08-30 09:55:54 作者: rapoo

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)

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

读书人网 >系统运维

热点推荐