This content has been marked as final.
Show 1 reply
-
1. Re: Help me, ORA-02291: integrity constraint (PRODIGYO.FK_TI
aguizar Mar 28, 2006 4:43 PM (in response to afgomez)Yes, but you can have jBPM do it for you. Create or load your process instance using the methods JbpmContext.newProcessInstanceForUpdate() or JbpmContext.loadProcessInstanceForUpdate() and jBPM will register the instance for auto-save.
By the way, if you create a process instance, signal it in the same transaction and the signal results in the creation of a timer that fires before the transaction commits, you will still get the constraint violation even if you use the above methods. In this case, you will have to create the process instance, commit the transaction and then reload the process instance in a new transaction before sending a signal() to it.