邓轩 2019-06-11 11:47
浏览 1511

Could not read entity state from ResultSet : EntityKey问题

有Bj类、Vendor类,Bj类里面有一个Vendor 属性,用到了jpa的@ManyToOne注解,Bj表里面存的是vendor_id这个字段,Bj类关联了Vendor类里面的Id,使用Jpa的findAll方法查询列表的时候提示的这个错,我想知道什么情况下会出这种错,网上的说法是表和类的类型不一致但是我别的类也是这种关联关系却没问题,急死了!!!

06/11 11:33:15.872 [http-bio-8080-exec-3] ERROR Logs - :org.springframework.orm.jpa.JpaSystemException: Could not read entity state from ResultSet : EntityKey[com.ying.erp.entity.Vendor#5]; nested exception is org.hibernate.exception.GenericJDBCException: Could not read entity state from ResultSet : EntityKey[com.ying.erp.entity.Vendor#5] [in com.ying.erp.web.EntityController.list]
六月 11, 2019 11:33:15 上午 org.apache.catalina.core.ApplicationDispatcher invoke

  • 写回答

0条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥15 easyclick重启app
      • ¥15 ros系统里Python版本问题
      • ¥15 不兼容驱动程序删不了,内核隔离打不开
      • ¥15 Centos7重启网卡自动down,只能手动up
      • ¥15 multisim用74ls148做一个5号病号呼叫系统
      • ¥15 单片机,传感器,LCD1602
      • ¥15 关于adams 批处理仿真时间太长的问题
      • ¥15 fate部署问题请求帮助
      • ¥15 关于#arcpy#的问题:arcpy栅格计算器批处理(语言-python)
      • ¥15 stata logit的备选项自变量不同