2 Replies Latest reply: Apr 5, 2012 7:38 AM by Guilherme Marques RSS

Error JBoss 7.1.1.Final problem with getSingleResult

Guilherme Marques Newbie

Hi, I'm migration jboss 4.2.3.GA to JBoss 7.1.1 Final.

the app works normally in jboss 4, but jboss 7 got the error below:

 

13:42:49,949 WARN  [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (http--127.0.0.1-8443-1) SQL Error: 172032, SQLState: 2A000

13:42:49,950 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (http--127.0.0.1-8443-1) Syntax error:  Stopped parse at limit

13:42:49,953 ERROR [stderr] (http--127.0.0.1-8443-1) javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: Syntax error:  Stopped parse at limit

13:42:49,954 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1361)

13:42:49,955 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1289)

13:42:49,955 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:313)

13:42:49,956 ERROR [stderr] (http--127.0.0.1-8443-1)           at br.com.prevident.blvd.model.cadastro.bairro.BairroFacadeBean.findByPrimaryKey(BairroFacadeBean.java:93)

13:42:49,956 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

13:42:49,957 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

13:42:49,957 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

13:42:49,958 ERROR [stderr] (http--127.0.0.1-8443-1)           at java.lang.reflect.Method.invoke(Method.java:597)

13:42:49,958 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)

13:42:49,959 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,959 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

13:42:49,960 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)

13:42:49,960 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,961 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

13:42:49,962 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,962 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)

13:42:49,963 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,963 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

13:42:49,964 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)

13:42:49,964 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,965 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)

13:42:49,965 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,966 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:228)

13:42:49,966 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:304)

13:42:49,967 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:190)

13:42:49,967 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,968 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:80)

13:42:49,968 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,969 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

13:42:49,970 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,970 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

13:42:49,971 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,971 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

13:42:49,972 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,972 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)

13:42:49,973 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,973 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

13:42:49,974 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

13:42:49,974 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

13:42:49,975 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)

13:42:49,975 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:179)

13:42:49,976 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:179)

13:42:49,976 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:43)

13:42:49,977 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)

13:42:49,978 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:128)

13:42:49,978 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)

13:42:49,979 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)

13:42:49,979 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)

13:42:49,980 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)

13:42:49,980 ERROR [stderr] (http--127.0.0.1-8443-1)           at $Proxy35.findByPrimaryKey(Unknown Source)

13:42:49,981 ERROR [stderr] (http--127.0.0.1-8443-1)           at br.com.prevident.blvd.controller.cadastro.bairro.BairroDelegate.findByPrimaryKey(BairroDelegate.java:33)

13:42:49,981 ERROR [stderr] (http--127.0.0.1-8443-1)           at br.com.prevident.view.cadastro.bairro.BairroBean.selected(BairroBean.java:100)

13:42:49,982 ERROR [stderr] (http--127.0.0.1-8443-1)           at br.com.prevident.view.BaseController.navigationChange(BaseController.java:158)

13:42:49,982 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

13:42:49,983 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

13:42:49,987 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

13:42:49,988 ERROR [stderr] (http--127.0.0.1-8443-1)           at java.lang.reflect.Method.invoke(Method.java:597)

13:42:49,989 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.el.parser.AstValue.invoke(AstValue.java:262)

13:42:49,989 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278)

13:42:49,990 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)

13:42:49,990 ERROR [stderr] (http--127.0.0.1-8443-1)           at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)

13:42:49,991 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

13:42:49,991 ERROR [stderr] (http--127.0.0.1-8443-1)           at javax.faces.component.UICommand.broadcast(UICommand.java:315)

13:42:49,992 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.component.UIDataAdaptorBase.broadcast(UIDataAdaptorBase.java:1387)

13:42:49,992 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)

13:42:49,993 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)

13:42:49,993 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)

13:42:49,994 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)

13:42:49,994 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

13:42:49,995 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

13:42:49,995 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

13:42:49,996 ERROR [stderr] (http--127.0.0.1-8443-1)           at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

13:42:49,996 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

13:42:49,997 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

13:42:49,997 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)

13:42:49,998 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

13:42:49,998 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)

13:42:49,999 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)

13:42:49,999 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

13:42:50,000 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

13:42:50,000 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

13:42:50,001 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

13:42:50,001 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)

13:42:50,002 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

13:42:50,002 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

13:42:50,003 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

13:42:50,004 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

13:42:50,004 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

13:42:50,005 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

13:42:50,005 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

13:42:50,006 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

13:42:50,006 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

13:42:50,007 ERROR [stderr] (http--127.0.0.1-8443-1)           at java.lang.Thread.run(Thread.java:680)

13:42:50,008 ERROR [stderr] (http--127.0.0.1-8443-1) Caused by: org.hibernate.exception.SQLGrammarException: Syntax error:  Stopped parse at limit

13:42:50,009 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:122)

13:42:50,009 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)

13:42:50,010 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)

13:42:50,010 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)

13:42:50,011 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:146)

13:42:50,012 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.internal.proxy.AbstractProxyHandler.invoke(AbstractProxyHandler.java:81)

13:42:50,012 ERROR [stderr] (http--127.0.0.1-8443-1)           at $Proxy30.prepareStatement(Unknown Source)

13:42:50,012 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$5.doPrepare(StatementPreparerImpl.java:147)

13:42:50,013 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.internal.StatementPreparerImpl$StatementPreparationTemplate.prepareStatement(StatementPreparerImpl.java:166)

13:42:50,014 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.internal.StatementPreparerImpl.prepareQueryStatement(StatementPreparerImpl.java:145)

13:42:50,014 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1739)

13:42:50,015 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.Loader.doQuery(Loader.java:828)

13:42:50,015 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:289)

13:42:50,016 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.Loader.doList(Loader.java:2463)

13:42:50,016 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.Loader.doList(Loader.java:2449)

13:42:50,017 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2279)

13:42:50,017 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.Loader.list(Loader.java:2274)

13:42:50,018 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:470)

13:42:50,018 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:355)

13:42:50,019 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:196)

13:42:50,019 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1115)

13:42:50,019 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.internal.QueryImpl.list(QueryImpl.java:101)

13:42:50,020 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:280)

13:42:50,020 ERROR [stderr] (http--127.0.0.1-8443-1)           ... 90 more

13:42:50,021 ERROR [stderr] (http--127.0.0.1-8443-1) Caused by: java.sql.SQLException: Syntax error:  Stopped parse at limit

13:42:50,021 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.global.SQLState.SQLException(Unknown Source)

13:42:50,022 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.a.b.a(Unknown Source)

13:42:50,022 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.a.b.a(Unknown Source)

13:42:50,023 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.a.b.g(Unknown Source)

13:42:50,023 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.sql.bm.o(Unknown Source)

13:42:50,023 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.sql.ag.if(Unknown Source)

13:42:50,024 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.sql.dg.<init>(Unknown Source)

13:42:50,024 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.sql.bm.a(Unknown Source)

13:42:50,024 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.sql.bm.prepareStatement(Unknown Source)

13:42:50,025 ERROR [stderr] (http--127.0.0.1-8443-1)           at com.hxtt.sql.bm.prepareStatement(Unknown Source)

13:42:50,026 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:677)

13:42:50,026 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.jca.adapters.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:652)

13:42:50,027 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.jboss.jca.adapters.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:404)

13:42:50,027 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

13:42:50,028 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

13:42:50,028 ERROR [stderr] (http--127.0.0.1-8443-1)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

13:42:50,029 ERROR [stderr] (http--127.0.0.1-8443-1)           at java.lang.reflect.Method.invoke(Method.java:597)

13:42:50,029 ERROR [stderr] (http--127.0.0.1-8443-1)           at org.hibernate.engine.jdbc.internal.proxy.ConnectionProxyHandler.continueInvocation(ConnectionProxyHandler.java:138)

13:42:50,030 ERROR [stderr] (http--127.0.0.1-8443-1)           ... 108 more

 

The error is exactly in line getSingleResult. Does anyone have any idea?

 

Thanks,