`
inshect
  • 浏览: 185655 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

id to load is required for loading

阅读更多
java.lang.IllegalArgumentException: id to load is required for loading
出现这样的错误一般是我们的某个字段为null,使用log或system返回来看看!!
分享到:
评论
5 楼 Sunshine莲 2013-05-18  
不错
4 楼 wangchenggong1988 2011-12-13  
3 楼 xucl 2009-12-02  
出现该错误可能是运用hibernate的getSession().get(Example.class,id),而传给该方法的id参数为null,会报id to load is required for loading错误
2 楼 inshect 2007-09-08  
不客气!
1 楼 davexie 2007-09-05  
谢谢你的提醒!我的原因就是字段NULL.

相关推荐

Global site tag (gtag.js) - Google Analytics