当前位置:   article > 正文

java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.AggregateNode_caused by: java.lang.illegalstateexception: no dat

caused by: java.lang.illegalstateexception: no data type for node: org.hiber
  1. 23:50:39,069 ERROR FlexExceptionTranslator:44 - java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.AggregateNode
  2. \-[AGGREGATE] AggregateNode: 'MAX'
  3. \-[IDENT] IdentNode: 'paCode'
  4. java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.AggregateNode
  5. \-[AGGREGATE] AggregateNode: 'MAX'
  6. \-[IDENT] IdentNode: 'paCode'
  7. at org.hibernate.hql.ast.tree.SelectClause.initializeExplicitSelectClause(SelectClause.java:167)
  8. at org.hibernate.hql.ast.HqlSqlWalker.useSelectClause(HqlSqlWalker.java:831)
  9. at org.hibernate.hql.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:619)
  10. at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:672)
  11. at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:288)
  12. at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:231)
  13. at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:254)
  14. at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:185)
  15. at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:136)
  16. at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
  17. at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
  18. at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
  19. at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
  20. at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
  21. at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1651)
  22. at ce.ts.biz.TestDAO.getNewCode(TestDAO.java:263)
  23. at ce.ts.biz.TestMgr.getNewCode(TestMgr.java:699)
  24. at ce.ts.biz.TestMgr$$FastClassByCGLIB$$c81fa448.invoke(<generated>)
  25. at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  26. at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692)
  27. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  28. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
  29. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  30. at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
  31. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  32. at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:625)
  33. at ce.ts.biz.TestMgr$$EnhancerByCGLIB$$f23effa3.getNewCode(<generated>)
  34. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  35. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  36. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  37. at java.lang.reflect.Method.invoke(Method.java:597)
  38. at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)
  39. at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
  40. at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
  41. at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
  42. at flex.messaging.endpoints.AbstractEndpoint$$FastClassByCGLIB$$1a3ef066.invoke(<generated>)
  43. at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  44. at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692)
  45. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  46. at org.springframework.flex.core.MessageInterceptionAdvice.invoke(MessageInterceptionAdvice.java:66)
  47. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  48. at org.springframework.aop.framework.adapter.ThrowsAdviceInterceptor.invoke(ThrowsAdviceInterceptor.java:124)
  49. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  50. at org.springframework.aop.framework.Cglib2AopProxy$FixedChainStaticTargetInterceptor.intercept(Cglib2AopProxy.java:576)
  51. at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$$4988e7d1.serviceMessage(<generated>)
  52. at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
  53. at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
  54. at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
  55. at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
  56. at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
  57. at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
  58. at flex.messaging.endpoints.AMFEndpoint$$EnhancerByCGLIB$$4988e7d1.service(<generated>)
  59. at org.springframework.flex.servlet.MessageBrokerHandlerAdapter.handle(MessageBrokerHandlerAdapter.java:101)
  60. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
  61. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
  62. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
  63. at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
  64. at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
  65. at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  66. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  67. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  68. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  69. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
  70. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  71. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  72. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228)
  73. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  74. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  75. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  76. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  77. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)
  78. at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  79. at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
  80. at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
  81. at java.lang.Thread.run(Thread.java:662)

没有找到这个实体对应的属性:

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/296609
推荐阅读
相关标签
  

闽ICP备14008679号