org.hibernate.exception.ConstraintViolationException: could not insert: [org.apache.ode.daohib.bpel.hobj.HProcess]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ode-user by Anne Noseda, 6 months ago
could not insert: [org.apache.ode.daohib.bpel.hobj.HProcess]
via ode-user by Anne Noseda, 1 year ago
could not insert: [org.apache.ode.daohib.bpel.hobj.HProcess]
via Stack Overflow by hamedcan
, 1 year ago
could not insert: [de.shapan.imp.ThirdPartyData]
via Coderanch by Bharath Gowda, 1 year ago
via soso.io by Unknown author, 1 year ago
could not insert: [org.hibernate.model.Student]
via Stack Overflow by bunnyjesse112
, 2 years ago
could not insert: [entity.PurchaseOrder]
java.sql.SQLException: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL070209034436510' defined on 'BPEL_PROCESS'.
at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(UnknownSource)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(UnknownSource)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(UnknownSource)
at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(UnknownSource)
at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(UnknownSource)
at org.opentools.minerva.jdbc.PreparedStatementInPool.executeUpdate(PreparedStatementInPool.java:99)
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:23)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2062)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41)
at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:978)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1545)
at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
at org.apache.ode.daohib.bpel.BpelDAOConnectionImpl.getProcess(BpelDAOConnectionImpl.java:97)
at org.apache.ode.bpel.engine.BpelProcess.getProcessDAO(BpelProcess.java:352)
at org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:131)
at org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.invoke(MyRoleMessageExchangeImpl.java:114)
at org.apache.ode.jbi.OdeService.invokeOde(OdeService.java:229)
at org.apache.ode.jbi.OdeService.onJbiMessageExchange(OdeService.java:141)
at org.apache.ode.jbi.JbiMessageExchangeEventRouter.onJbiMessageExchange(JbiMessageExchangeEventRouter.java:47)
at org.apache.ode.jbi.Receiver$1.run(Receiver.java:190)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)

Users with the same issue

Once, 7 months ago
Once, 9 months ago
Once, 9 months ago
Once, 1 year ago
81 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.