有谁知道的吗?这是什么意思!
知道是问题出在那里!
org.springframework.orm.hibernate3.HibernateQueryException: could not resolve property: custsDj of: com.hr.entity.BasDict [select b from com.hr.entity.BasDict b left join b.custsDj where 1=1 and b.dictItem like ? group by b.dictValue]; nested exception is org.hibernate.QueryException: could not resolve property: custsDj of: com.hr.entity.BasDict [select b from com.hr.entity.BasDict b left join b.custsDj where 1=1 and b.dictItem like ? group by b.dictValue]
出现这个异常,大多是因为我们在HQL和SQL语句的使用上造成混淆;因为Hibernate使用的是hql语法,而sql语法和它是有区别的。