Caused by: org.hibernate.QueryException: could not resolve property
2010-09-21 15:38
579 查看
案例:Caused by: org.hibernate.QueryException: could not resolve property: id (id为hql语句中的实体类的字段)
原因分析:1.Hibernate的错误提示信息可能不够准确,最好仔细检查hql语言(我就是c.creatorId = :cid 写错成:c.creatorId := cid)
2.字段映射出问题,检查变量名是否对应
原因分析:1.Hibernate的错误提示信息可能不够准确,最好仔细检查hql语言(我就是c.creatorId = :cid 写错成:c.creatorId := cid)
2.字段映射出问题,检查变量名是否对应
相关文章推荐
- org.hibernate.QueryException: could not resolve property:
- org.hibernate.QueryException: could not resolve property: address of:
- 数据库异常整理:org.hibernate.QueryException: could not resolve property: “xxx”
- 出现“org.hibernate.QueryException: could not resolve property”错误的解决
- org.hibernate.QueryException: could not resolve property
- org.hibernate.QueryException: could not resolve property 错误解析
- 异常解决—org.hibernate.QueryException: could not resolve property: “xxx”
- 异常org.hibernate.QueryException: could not resolve property的原因
- org.hibernate.QueryException: could not resolve property:xxxxxid 外键查询 hibernate
- Struts Problem Report:org.hibernate.QueryException: could not resolve property: ?? of: com.zyc.xxx
- org.hibernate.QueryException: could not resolve property
- 数据库异常整理:org.hibernate.QueryException: could not resolve property: “xxx”
- org.hibernate.QueryException: could not resolve property错误的解决方法
- 数据库异常整理:org.hibernate.QueryException: could not resolve property: “xxx”
- nested exception is org.hibernate.QueryException: could not resolve property
- org.hibernate.QueryException: could not resolve property
- nested exception is org.hibernate.QueryException:could not resolve property:
- org.hibernate.QueryException: could not resolve property
- 常见Hibernate报错处理:出现“org.hibernate.QueryException: could not resolve property”和 is not mapped和could not locate named parameter错误的解决
- org.hibernate.QueryException: could not resolve property: