Nhibernate出现NHibernate.QueryException: could not resolve property异常
2010-03-08 15:43
393 查看
Nhibernate出现NHibernate.QueryException: could not resolve property异常
nhibernate 使用hql语言进行查询操作,其执行的查询是对象的相关信息,而在nhibernate中,对象的属性是由.hb.xml来定义,故其查询的属性需与hb.xml文件定义字段相一致,包括大小写,如,Isession.CreateQuery(“select c.cusID from customer c"),其cusID需与hb.xml中定义的一致。
nhibernate 使用hql语言进行查询操作,其执行的查询是对象的相关信息,而在nhibernate中,对象的属性是由.hb.xml来定义,故其查询的属性需与hb.xml文件定义字段相一致,包括大小写,如,Isession.CreateQuery(“select c.cusID from customer c"),其cusID需与hb.xml中定义的一致。
相关文章推荐
- 异常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”
- 数据库异常整理:org.hibernate.QueryException: could not resolve property: “xxx”
- 异常解决—org.hibernate.QueryException: could not resolve property: “xxx”
- 常见Hibernate报错处理:出现“org.hibernate.QueryException: could not resolve property”和 is not mapped和could not locate named parameter错误的解决
- Hibernate-org.hibernate.QueryException: could not resolve property: code of:
- nested exception is 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
- org.hibernate.QueryException: could not resolve property:
- org.hibernate.QueryException: could not resolve property错误的解决方法
- org.hibernate.QueryException: could not resolve property
- Caused by: org.hibernate.QueryException: could not resolve property
- Struts Problem Report:org.hibernate.QueryException: could not resolve property: ?? of: com.zyc.xxx
- org.hibernate.QueryException: could not resolve property: address of:
- nested exception is org.hibernate.QueryException:could not resolve property:
- org.hibernate.QueryException: could not resolve property