[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JPA-QL compliance requires select clause
scotttam
do-not-reply at jboss.com
Fri Sep 22 17:01:24 EDT 2006
I upgraded to the latest version of EJB3 and started using the all server configuration and all of a sudden I am getting the following exception.
How do I shut off this compliance check?
|
| 16:49:06,899 ERROR [STDERR] javax.ejb.EJBException: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: JPA-QL compliance requires select clause [from com.opus3media.par.AdUser c where c.email = :email]
| 16:49:06,909 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,909 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| 16:49:06,909 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,909 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,909 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| 16:49:06,909 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,909 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
| 16:49:06,909 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
| 16:49:06,909 ERROR [STDERR] at $Proxy122.getAdUser(Unknown Source)
| 16:49:06,909 ERROR [STDERR] at com.opus3media.web.UserBean.getAdUser(UserBean.java:22)
| 16:49:06,909 ERROR [STDERR] at com.opus3media.web.ListCampaignsBean.getCampaignBeans(ListCampaignsBean.java:69)
| 16:49:06,909 ERROR [STDERR] at com.opus3media.web.ListCampaignsBean.getCampaignDataModel(ListCampaignsBean.java:52)
| 16:49:06,909 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:49:06,909 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:49:06,909 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:49:06,909 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:49:06,909 ERROR [STDERR] at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400)
| 16:49:06,909 ERROR [STDERR] at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71)
| 16:49:06,909 ERROR [STDERR] at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:532)
| 16:49:06,909 ERROR [STDERR] at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
| 16:49:06,909 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378)
| 16:49:06,909 ERROR [STDERR] at oracle.adf.view.faces.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:55)
| 16:49:06,909 ERROR [STDERR] at oracle.adf.view.faces.component.UIXComponentBase.getProperty(UIXComponentBase.java:1013)
| 16:49:06,909 ERROR [STDERR] at oracle.adf.view.faces.component.UIXIterator.getValue(UIXIterator.java:355)
| 16:49:06,909 ERROR [STDERR] at oracle.adf.view.faces.component.UIXCollection._flushCachedModel(UIXCollection.java:947)
| 16:49:06,909 ERROR [STDERR] at oracle.adf.view.faces.component.UIXCollection.encodeBegin(UIXCollection.java:425)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:297)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.HeaderRenderer.renderContent(HeaderRenderer.java:482)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(BorderLayoutRenderer.java:42)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(BorderLayoutRenderer.java:71)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)
| 16:49:06,909 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.PageLayoutRenderer.render(PageLayoutRenderer.java:76)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
| 16:49:06,939 ERROR [STDERR] at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.delegateRenderer(CoreRenderer.java:271)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:60)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
| 16:49:06,939 ERROR [STDERR] at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
| 16:49:06,939 ERROR [STDERR] at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349)
| 16:49:06,939 ERROR [STDERR] at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253)
| 16:49:06,939 ERROR [STDERR] at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
| 16:49:06,939 ERROR [STDERR] at org.apache.jsp.app.campaigns_jsp._jspx_meth_af_document_0(campaigns_jsp.java:316)
| 16:49:06,939 ERROR [STDERR] at org.apache.jsp.app.campaigns_jsp._jspx_meth_f_view_0(campaigns_jsp.java:284)
| 16:49:06,939 ERROR [STDERR] at org.apache.jsp.app.campaigns_jsp._jspService(campaigns_jsp.java:254)
| 16:49:06,939 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
| 16:49:06,939 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| 16:49:06,939 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
| 16:49:06,939 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
| 16:49:06,939 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
| 16:49:06,939 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
| 16:49:06,939 ERROR [STDERR] at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)
| 16:49:06,939 ERROR [STDERR] at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
| 16:49:06,939 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
| 16:49:06,939 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
| 16:49:06,939 ERROR [STDERR] at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
| 16:49:06,939 ERROR [STDERR] at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 16:49:06,939 ERROR [STDERR] at com.opus3media.web.filter.SessionAliveFilter.doFilter(SessionAliveFilter.java:57)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 16:49:06,939 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| 16:49:06,939 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| 16:49:06,939 ERROR [STDERR] at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
| 16:49:06,939 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| 16:49:06,939 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| 16:49:06,939 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| 16:49:06,939 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| 16:49:06,939 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| 16:49:06,939 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| 16:49:06,939 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
| 16:49:06,949 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: JPA-QL compliance requires select clause [from com.opus3media.par.AdUser c where c.email = :email]
| 16:49:06,949 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:628)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:95)
| 16:49:06,949 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManager.createQuery(TransactionScopedEntityManager.java:127)
| 16:49:06,949 ERROR [STDERR] at com.opus3media.ejb.AppManagerBean.getAdUser(AppManagerBean.java:153)
| 16:49:06,949 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 16:49:06,949 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 16:49:06,949 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 16:49:06,949 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
| 16:49:06,949 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| 16:49:06,949 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| 16:49:06,949 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| 16:49:06,949 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,949 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| 16:49:06,949 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,949 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| 16:49:06,949 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| 16:49:06,949 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| 16:49:06,949 ERROR [STDERR] ... 143 more
| 16:49:06,949 ERROR [STDERR] Caused by: org.hibernate.hql.ast.QuerySyntaxException: JPA-QL compliance requires select clause [from com.opus3media.par.AdUser c where c.email = :email]
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.ast.tree.SelectClause.initializeDerivedSelectClause(SelectClause.java:261)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.ast.HqlSqlWalker.createSelectClauseFromFromClause(HqlSqlWalker.java:721)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:531)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:645)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
| 16:49:06,949 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:92)
| 16:49:06,949 ERROR [STDERR] ... 158 more
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973650#3973650
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973650
More information about the jboss-user
mailing list