Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-1085

Join of new process instance fails in Oracle

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • SOA 4.2 CP02, jBPM 3.2.3
    • jBPM 3.2.2
    • None
    • None

      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

            kaers@redhat.com Koen Aers
            tom.baeyens Tom Baeyens (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: