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)

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

你可能感兴趣的:(java,Hibernate,orm)