Hibernate出现No data type for node: org.hibernate.hql.ast.tree.IdentNode可能原因之一
某日,单元测试逻辑,出现如下错误:
java.lang.IllegalStateException: No data type for node:org.hibernate.hql.ast.tree.IdentNode \-[IDENT] IdentNode: 'wfProcessInstance' |
找了大半天原因:
原理HQL中用了一个全角空格,该死的肉眼看不出来。因此笔记下..
另外,如何在MyEclipse中检测全角空格,方法如下:
在MyEclipse中选中如下功能:
检测代码中是否如下一个“句号”的字符串,,如果出现"句号",说明这是一个全角空格。
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.