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

IllegalArgumentException

阅读更多
错误
java 代码
 
  1. if (status != null) {  
  2.     detachedCriteria.add(Restrictions.eq("o.status", status.getId()));  
  3. }  

正确
java 代码
 
  1. if (status != null) {  
  2.     detachedCriteria.add(Restrictions.eq("o.status", status));  
  3. }  

java 代码
 
  1. <IllegalArgumentException in class: com.topfounder.crm.domain.IDBaseDomain, getter method of property: id>  
  2. 2007-11-15 13:16:19 org.apache.catalina.core.ApplicationContext log  
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics