Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7585

Refactor mapping files and replace ${prop} = ${prop} + 1 with ${prop} = 1 + ${prop}

    XMLWordPrintable

    Details

      Description

      On DB2 Z/OS expressions like property = property + 1, ... are problematic, because if the timezone is set to european time zone the comma will be interpreted as floating number delimiter. In that case Z/OS will try to cast the number to double, but the number after the comma is missing.

      To avoid this and be more stable on Z/OS or other DB versions we need to change expressions
      like

      ${prop} = ${prop} +1,

      TO

      ${prop} = 1 + ${prop},

      in all UPDATE Statements (in all mibatis mapping files).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            christopher.zell Christopher Zell
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: