expecting CLOSE, found 'null'
来源:互联网 发布:长沙网络公关公司 编辑:程序博客网 时间:2024/06/06 08:42
这里是错误信息:
springframework.orm.hibernate3.HibernateQueryException: expecting CLOSE, found 'null' near line 1, column 106 [from cn.mani123.domain.Product where id in (select product from cn.mani123.domain.Order where account = 1]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: expecting CLOSE, found 'null' near line 1, column 106 [from cn.mani123.domain.Product where id in (select product from cn.mani123.domain.Order where account = 1]
这个是转换的hibernate语句:
String hql = "from Product where id in (select product from Order where account = " + id ;
==================
我落了一个 ')'
String hql = "from Product where id in (select product from Order where account = " + id + ")";
添上 问题解决
http://topic.csdn.net/u/20080312/17/0090cdd5-754e-48f2-ba15-c1a8650fff2c.html
同这个哥们犯得同样的错误
- expecting CLOSE, found 'null'
- expecting CLOSE, found 'null'
- expecting CLOSE, found 'null' near line 1 colum 110
- expecting IDENT, found '*' 错误
- Dispose close null showdialog
- Got an exception - expecting xxx found EOF
- hibernate expecting IDENT, found '*' 怎么解决?
- Unrecognized token 'xxxx': was expecting ('true', 'false' or 'null')
- fasterxml: Unrecognized token '***': was expecting ('true', 'false' or 'null')
- app.json Expecting 'STRING','NUMBER','NULL','TRUE','FALSE','{','[',']', got INVALID
- gson转化为java对象 Expecting array but found object
- module 'null' not found錯誤處理
- Unrecognized token 'ename': was expecting ('true', 'false' or 'null')(ajax中data动态获取数据)
- 微信小程序 --- Expecting 'STRING','NUMBER','NULL','TRUE','FALSE','{','[', got EOF 1 |
- make: makefile: line 7: Error -- Expecting macro or rule defn, found neither
- syntax error; found ` ; ' expecting ` )' 和Error TCC: insufficient number of arguments to `IIC_RegRead'
- 数据库expecting ''', found '<EOF>'异常——原载于我的百度空间
- RMAN-01009: syntax error: found “dot”: expecting one of: “double-quoted-string, equal, identifier, s
- 关于Matlab绘图(1)——plot函数
- Mybatis自己实现Dao与使用Mapper的代理实现Dao
- P1046 陶陶摘苹果
- 【项目记录】山东大学场馆管理系统之——新闻通知
- POJ3253 Fence Repair【哈夫曼树+优先队列】
- expecting CLOSE, found 'null'
- 《An Introduction to Ray Tracing》——2.3 Ray/Polygon Intersection And Mapping
- java 小类型向大类型转化
- 设计模式——汇总篇
- Linux下的jdk,mysql,Tomcat,Nginx的安装
- Linux下进程通信
- codeforces809A Do you want a date?
- 1117. Eddington Number(25)[基础逻辑题]
- 丽娃河的狼人传说