`
CL315917525
  • 浏览: 230261 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

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.MedicationRecordBean
	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:676)
	at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)

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

分享到:
评论
1 楼 13423290978 2017-02-16  
在那里解决呢

相关推荐

Global site tag (gtag.js) - Google Analytics