Join of new process instance fails in Oracle
--------------------------------------------
Key: JBPM-1085
URL:
http://jira.jboss.com/jira/browse/JBPM-1085
Project: JBoss jBPM
Issue Type: Bug
Affects Versions: jBPM jPDL 3.2.2
Reporter: Tom Baeyens
Assigned To: Tom Baeyens
Fix For: jBPM jPDL 3.2.3, jBPM 3.2.2 SOA 1
If in one transaction you create a new process instance and reach a join, you'll get a
invalid StaleObjectStateException. The cause is that in case of oracle, hibernate will
not insert the record in the database before the forced version increment in the join will
be executed. That results in 0 rows updated and hence a StaleStateObjectException.
The fix applied is that we added a flush before the forced version update in the join
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira