Using jBPM with Spring and Hibernate, I am sometimes getting:

java.sql.BatchUpdateException: ORA-02291: integrity constraint 
(JBPMUSER.FK_LOG_TASKINST) violated - parent key not found

When signalling/ending a task. Only sometimes though, and seemingly randomly.  
Some notable behaviour:

 - The task-assign gets triggered on the new task, before it errs and reverts 
back to the old task.  (Aside: I send emails on new task assign, which is 
non-roll-back-able.  What should I be using for an alert email post-commit?)

 - After getting the error and things "all" rolling back (?), I can resubmit 
the exact same operation and it succeeds the second time.

I'm using Hibernate 3.1 still.

I'm thinking that it might have to do with Spring transaction management, and 
am tracing through the source but having a hard time discerning the problem.  
If others have experienced similar issues please share your war stories.

Thanks!  



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034338#4034338

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034338
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to