错误
java 代码
java 代码
- if (status != null) {
- detachedCriteria.add(Restrictions.eq("o.status", status.getId()));
- }
正确
java 代码
- if (status != null) {
- detachedCriteria.add(Restrictions.eq("o.status", status));
- }
java 代码
- <IllegalArgumentException in class: com.topfounder.crm.domain.IDBaseDomain, getter method of property: id>
- 2007-11-15 13:16:19 org.apache.catalina.core.ApplicationContext log