[jboss-user] [jBPM] - constraint (MYSCHEMA.FK27A9A56CE1EF3A) violated

Odelya Holiday do-not-reply at jboss.com
Sun Jan 30 08:25:18 EST 2011


Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the discussion

"constraint (MYSCHEMA.FK27A9A56CE1EF3A) violated"

To view the discussion, visit: http://community.jboss.org/message/584114#584114

--------------------------------------------------------------
Hi!

After completing human task I get:


Hibernate: insert into Task (allowedToDelegate, taskInitiator_id, priority, activationTime, actualOwner_id, createdBy_id, createdOn, documentAccessType, documentContentId, documentType, expirationTime, faultAccessType, faultContentId, faultName, faultType, outputAccessType, outputContentId, outputType, parentId, previousStatus, processInstanceId, skipable, status, workItemId, id) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate: insert into I18NText (language, text, id) values (?, ?, ?)
Hibernate: insert into I18NText (language, text, id) values (?, ?, ?)
Hibernate: insert into I18NText (language, text, id) values (?, ?, ?)
Hibernate: update Task set allowedToDelegate=?, taskInitiator_id=?, priority=?, activationTime=?, actualOwner_id=?, createdBy_id=?, createdOn=?, documentAccessType=?, documentContentId=?, documentType=?, expirationTime=?, faultAccessType=?, faultContentId=?, faultName=?, faultType=?, outputAccessType=?, outputContentId=?, outputType=?, parentId=?, previousStatus=?, processInstanceId=?, skipable=?, status=?, workItemId=? where id=?
2011-01-30 15:19:38,354 ERROR (    JDBCExceptionReporter.java:101)     - ORA-02291: integrity constraint (MYSCHEMA.FK27A9A56CE1EF3A) violated - parent key not found


2011-01-30 15:19:38,355 ERROR (    JDBCExceptionReporter.java:101)     - ORA-02291: integrity constraint (MYSCHEMA.FK27A9A56CE1EF3A) violated - parent key not found

at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94)
          at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
          at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275)
          at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
          at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
          at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
          at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50)
          at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027)
          at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:365)
          at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
          at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
          at org.jbpm.task.service.TaskServiceSession.doOperationInTransaction(TaskServiceSession.java:716)
          at org.jbpm.task.service.TaskServiceSession.addTask(TaskServiceSession.java:134)

Why would it happen?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/584114#584114]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110130/3b93b841/attachment.html 


More information about the jboss-user mailing list