org.hibernate.hql.ast.QuerySyntaxException: is not mapped
来源:互联网 发布:python 最小值 索引 编辑:程序博客网 时间:2024/05/16 05:01
原文链接:http://blog.csdn.net/kiss_vicente/article/details/6942666#comments
上面的异常的抛出主要有以下几个方面:
1、最容易想到的,就是你的from是实体类而不是表名,这个应该大家都知道,注意大小写
2、你的hibernate配置文件中没有加入相应的映射文件<mapping resource=" " />
3、如果以上没问题,但仍有错,可能是你的hql语句有误
0 0
- org.hibernate.hql.ast.QuerySyntaxException is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: myaddressbook is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: Enroll is not mapped.
- org.hibernate.hql.ast.QuerySyntaxException: ? is not mapped
- org.hibernate.hql.ast.QuerySyntaxException:is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: is not mapped 异常总结
- org.hibernate.hql.ast.QuerySyntaxException: is not mapped 异常总结 .
- org.hibernate.hql.ast.QuerySyntaxException is not mapped异常
- org.hibernate.hql.ast.QuerySyntaxException: Person is not mapped
- org.hibernate.hql.internal.ast.QuerySyntaxException: Exam is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: UserType is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: **** is not mapped 异常总结
- org.hibernate.hql.ast.QuerySyntaxException: is not mapped
- org.hibernate.hql.ast.QuerySyntaxException:XX is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: is not mapped解决办法
- org.hibernate.hql.ast.QuerySyntaxException:is not mapped 异常总结
- org.hibernate.hql.ast.QuerySyntaxException: Article is not mapped.
- org.hibernate.hql.ast.QuerySyntaxException: is not mapped 异常总结
- CYPEESS USB3.0程序解读之---GPIO
- Ajax异步请求阻塞情况的解决办法
- web配置详解
- Spring整合Hibernate,不用HibernateDaoSupport与HibernateTemplate而用Hibernate自己的api分析说明
- Knockout应用开发指南 第二章:监控属性(Observables)
- org.hibernate.hql.ast.QuerySyntaxException: is not mapped
- CYPEESS USB3.0程序解读之---同步FIFO(slaveFifoSync)
- UINavigationController官方文档学习笔记
- JavaScript中的this关键字
- 复杂链表的复制
- js 计算字符串长度 中英文
- 【学习笔记-图像拼接】基于GPU加速的大尺寸图像拼接
- Knockout应用开发指南 第三章:绑定语法(1)
- malloc函数详解