阅读背景:

HibernateSystemException: Found shared references to a collection:_chuncui2576的博客

来源:互联网 

今天在写项目的时候爆了这个错误

rpd] 2019-07-13 16:08:31 ERROR GlobalExceptionHandler: Found shared references to a collection: com.rpdgd.freemarket.business.ship.domain.FreeMarketShipPlan.shipWeighDetail; nested exception is org.hibernate.HibernateException: Found shared references to a collection: com.rpdgd.freemarket.business.ship.domain.FreeMarketShipPlan.shipWeighDetail
org.springframework.orm.hibernate3.HibernateSystemException: Found shared references to a collection: com.rpdgd.freemarket.business.ship.domain.FreeMarketShipPlan.shipWeighDetail; nested exception is org.hibernate.HibernateException: Found shared references to a collection: com.rpdgd.freemarket.business.ship.domain.FreeMarketShipPlan.shipWeighDetail
	at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:690)
	at org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:103)
	at org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)
	at org.springframework.orm.jpa.JpaAccessor.translateIfNecessary(JpaAccessor.java:155)
	at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:192)
	at org.springframework.orm.jpa.JpaTemplate.execute(JpaTemplate.java:150)
	at com.gwqm.base.basedao.GenericEntityDao.query(GenericEntityDao.java:87)
	at com.gwqm.base.basedao.GenericDAO.query(GenericDAO.java:92)
	at com.gwqm.base.service.impl.BaseServiceImpl.query(BaseServiceImpl.java:131)
	at com.rpdgd.freemarket.business.order.service.impl.FreeMarketOrderItemServiceImpl.getBySrcOrderItemId(FreeMarketOrderItemServiceImpl.java:84)
	at com.rpdgd.freemarket.business.order.service.impl.FreeMarketOrderItemServiceImpl$$FastClassBySpringCGLIB$17ce71.invoke(<generated>)rpd] 2019-07-13 16:08:31



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: