eption.GenericJDBCException

could not insert: [org.apache.ode.dao.jpa.bpel.MessageDAOImpl]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via JBoss Issue Tracker by Robin Caldairou, 11 months ago
    could not insert: [org.apache.ode.dao.jpa.bpel.MessageDAOImpl]
  • via JBoss Issue Tracker by Robin Caldairou, 1 year ago
    could not insert: [org.apache.ode.dao.jpa.bpel.MessageDAOImpl]
  • Stack trace

    • eption.GenericJDBCException: could not insert: [org.apache.ode.dao.jpa.bpel.MessageDAOImpl] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1214)[:3.6.0.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1147)[:3.6.0.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1153)[:3.6.0.Final] at org.hibernate.ejb.AbstractEntityManagerImpl$3.mapManagedFlushFailure(AbstractEntityManagerImpl.java:1067)[:3.6.0.Final] at org.hibernate.transaction.synchronization.CallbackCoordinator.beforeCompletion(CallbackCoordinator.java:122)[:3.6.0.Final] at org.hibernate.transaction.synchronization.HibernateSynchronizationImpl.beforeCompletion(HibernateSynchronizationImpl.java:51)[:3.6.0.Final] at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:97)[:6.0.0.Final] at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:274)[:6.0.0.Final] at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:94)[:6.0.0.Final] at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:159)[:6.0.0.Final] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1158)[:6.0.0.Final] at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:119)[:6.0.0.Final] at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75)[:6.0.0.Final] at org.jboss.soa.bpel.runtime.engine.ode.BPELEngineImpl.invoke(BPELEngineImpl.java:137)[:] at org.jboss.soa.dsp.ws.BaseWebServiceEndpoint.invoke(BaseWebServiceEndpoint.java:114)[:] at org.jboss.soa.dsp.ws.BaseWebServiceEndpoint.invoke(BaseWebServiceEndpoint.java:42)[:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24] at org.jboss.wsf.common.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:102)[:1.4.1.GA] at org.jboss.wsf.stack.cxf.AbstractInvoker._invokeInternal(AbstractInvoker.java:164)[:3.4.1.GA] at org.jboss.wsf.stack.cxf.AbstractInvoker.invoke(AbstractInvoker.java:112)[:3.4.1.GA] at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)[:2.3.1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_24] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_24] at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_24] at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)[:2.3.1] at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)[:2.3.1] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)[:2.3.1] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)[:2.3.1] at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97)[:2.3.1] at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461)[:2.3.1] at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172)[:3.4.1.GA] at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57)[:3.4.1.GA] at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)[:3.4.1.GA] at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:90)[:3.4.1.GA] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)[:2.3.1] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)[:2.3.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)[:1.0.0.Final] at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)[:2.3.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)[:6.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)[:6.0.0.Final] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)[:6.0.0.Final] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[:6.0.0.Final] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181)[:6.0.0.Final] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285)[:1.1.0.Final] at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261)[:1.1.0.Final] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88)[:6.0.0.Final] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100)[:6.0.0.Final] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)[:6.0.0.Final] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[:6.0.0.Final] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)[:6.0.0.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[:6.0.0.Final] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53)[:6.0.0.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362)[:6.0.0.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)[:6.0.0.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654)[:6.0.0.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951)[:6.0.0.Final] at java.lang.Thread.run(Thread.java:662)[:1.6.0_24] Caused by: org.hibernate.exception.GenericJDBCException: could not insert: [org.apache.ode.dao.jpa.bpel.MessageDAOImpl] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)[:3.6.0.Final] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)[:3.6.0.Final] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)[:3.6.0.Final] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2436)[:3.6.0.Final] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2856)[:3.6.0.Final] at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)[:3.6.0.Final] at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:273)[:3.6.0.Final] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:265)[:3.6.0.Final] at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184)[:3.6.0.Final] at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)[:3.6.0.Final] at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)[:3.6.0.Final] at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216)[:3.6.0.Final] at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383)[:3.6.0.Final] at org.hibernate.transaction.synchronization.CallbackCoordinator.beforeCompletion(CallbackCoordinator.java:117)[:3.6.0.Final] ... 55 more Caused by: org.jboss.util.NestedSQLException: Error; - nested throwable: (java.lang.ClassCastException: $Proxy179 cannot be cast to oracle.sql.CLOB) at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:887)[:6.0.0.Final] at org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:852)[:6.0.0.Final] at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setClob(WrappedPreparedStatement.java:812)[:6.0.0.Final] at org.hibernate.type.descriptor.sql.ClobTypeDescriptor$1.doBind(ClobTypeDescriptor.java:60)[:3.6.0.Final] at org.hibernate.type.descriptor.sql.BasicBinder.bind(BasicBinder.java:89)[:3.6.0.Final] at org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:282)[:3.6.0.Final] at org.hibernate.type.AbstractStandardBasicType.nullSafeSet(AbstractStandardBasicType.java:277)[:3.6.0.Final] at org.hibernate.type.AbstractSingleColumnStandardBasicType.nullSafeSet(AbstractSingleColumnStandardBasicType.java:85)[:3.6.0.Final] at org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2166)[:3.6.0.Final] at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2412)[:3.6.0.Final] ... 65 more Caused by: java.lang.ClassCastException: $Proxy179 cannot be cast to oracle.sql.CLOB at oracle.jdbc.driver.OraclePreparedStatement.setClob(OraclePreparedStatement.java:7066)[:Oracle JDBC Driver version - "10.2.0.5.0"] at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setClob(WrappedPreparedStatement.java:808)[:6.0.0.Final] ... 72 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago