HQL的书写,select * from (select * from table) ;
执行此HQL,应该会报错:ql.Driver (SessionState.java:printError(960)) - FAILED: ParseException line 48:52 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in subquery source
此时,修改HQL为select * from (select * from table) a,执行成功。