Loading

:line 1:100 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in statement

HQL的书写,select * from (select * from table) ;

执行此HQL,应该会报错:ql.Driver (SessionState.java:printError(960)) - FAILED: ParseException line 48:52 cannot recognize input near '' '' '' in subquery source

此时,修改HQL为select * from (select * from table) a,执行成功。

posted @ 2020-12-16 17:19  Mang0  阅读(3744)  评论(0)    收藏  举报