社区
Eclipse
帖子详情
org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree []
鱼粉儿
2011-06-22 04:30:00
用hibernate查询时报错org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree []
...全文
340
1
打赏
收藏
org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree []
用hibernate查询时报错org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree []
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
叶涛网站推广优化
2011-06-22
打赏
举报
回复
String queryString = "from Course course " +hql+" ";
System.out.println("\n\n"+queryString+"\n\n");
return getHibernateTemplate().find(queryString);
通俗易懂的
Hibernate
教程(含配套资料)
本教程为授权出品教程本Java视频教程基于
Hibernate
4.x 录制。内容涵盖安装
Hibernate
tools 插件、Session 核心方法、持久化对象生命周期、对象关系映射(1-n、1-1、n-n、继承映射)、检索策略、检索方式(对象导航图、OID 检索、
HQL
、QBC、本地SQL)、
Hibernate
一二级缓存、管理 Session、批量处理等
Hibernate
企业级开发的核心技术。本Java视频教程将帮助掌握学习者编写出具有合理的软件架构,以及好的运行性能和并发性能的实用
Hibernate
应用。Java视频教程内容注重理论与实践相结合,列举大量具典型性和实用价值的
Hibernate
应用实例,并提供详细的开发和部署步骤。
Hibernate
error :
org
.
hibernate
.
hql
.
ast
.
QuerySyntaxException
:
unexpected
end
of
subtree
Update: Look at the comments for more information and possible solutions. I got this error today. view source print? 01 Caused by:
org
.
hibernate
.
hql
.
ast
.
QuerySyntaxException
:
HQL
子查询报错:
org
.
hibernate
.
hql
.
ast
.
QuerySyntaxException
:
unexpected
token...
HQL
子查询报错:
org
.
hibernate
.
hql
.
ast
.
QuerySyntaxException
:
unexpected
token...
HQL
子查询只能出现在select或where字句中
org
.
hibernate
.
hql
.
ast
.
QuerySyntaxException
:
org
.
hibernate
.
hql
.
ast
.
QuerySyntaxException
: s_product is not mapped [from s_product where pid=99] at
org
.
hibernate
.
hql
.
ast
.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:18
org
.
hibernate
.
hql
.internal.
ast
.
QuerySyntaxException
:
unexpected
token: limit near line 1, column 80
org
.
hibernate
.
hql
.internal.
ast
.
QuerySyntaxException
:
unexpected
token: limit near line 1, column 80 [ SELECT name FROM cla_hospital WHERE city='北京市' and name like '%北京%' limit 8 ] ...
Eclipse
58,454
社区成员
49,449
社区内容
发帖
与我相关
我的任务
Eclipse
Java Eclipse
复制链接
扫一扫
分享
社区描述
Java Eclipse
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章