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

Potentially incorrect SELECT statement in JPAAuditLogService

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 7.51.0.Final, 7.64.0.Final
    • None
    • Runtime Engine
    • None
    • NEW
    • NEW

    Description

      https://github.com/kiegroup/jbpm/blob/main/jbpm-audit/src/main/java/org/jbpm/process/audit/JPAAuditLogService.java#L422

      I've noticed that the above line in method doPartialDelete does a SELECT, whereas the doDelete (non-batched transaction) version does a DELETE. Is this correct?

      This was added in 7.51.0.Final by JBPM-9579, so if this is a bug I'm surprised it's not been noticed for nearly a year If this is not a bug, I would be keen to understand how this works as I'm doing some internal work in this area.

      Attachments

        Activity

          People

            rhn-support-egonzale Enrique Gonzalez Martinez
            luke.armitage@sky.uk Luke Armitage
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: