◎筱米加步枪◎.Blog

Happy coding

Hibernate出现No data type for node: org.hibernate.hql.ast.tree.IdentNode可能原因之一

筱米加步枪 posted @ 2011年10月23日 23:46 in [ 开源框架 ] with tags MyEclipse Hibernate 全角空格 , 10953 阅读

某日,单元测试逻辑,出现如下错误:

java.lang.IllegalStateException: No data type for node:org.hibernate.hql.ast.tree.IdentNode
 \-[IDENT] IdentNode: 'wfProcessInstance'

找了大半天原因:

原理HQL中用了一个全角空格,该死的肉眼看不出来。因此笔记下..

 

另外,如何在MyEclipse中检测全角空格,方法如下:

在MyEclipse中选中如下功能:

检测代码中是否如下一个“句号”的字符串,,如果出现"句号",说明这是一个全角空格。

Rajasthan Board Ques 说:
2022年8月20日 18:46

Rajasthan Board Model Paper 2023 Class 1 Pdf Download with Answers for Rajasthani Medium, English Medium, Hindi Medium, Urdu Medium & Students for Small Answers, Long Answer, Very Long Answer Questions, and Essay Type Questions to Term1 & Term2 Exams at official website. Rajasthan Board Question Paper Class 1 New Exam Scheme or Question Pattern for Sammittive Assignment Exams (SA1 & SA2): Very Long Answer (VLA), Long Answer (LA), Small Answer (SA), Very Small Answer (VSA), Single Answer, Multiple Choice and etc.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter