Ofbiz column widening does not work for zero scale numeric columns

XMLWordPrintable

    • Severity 3 - Minor

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      Given an existing numeric column of zero scale i.e.

      NUMERIC(10,0)

      if the field-type definition or entity model is changed so that the column needs to altered to a bigger number i.e.

      NUMERIC(15,0)

      .

      Ofbiz will log that the db column is different from the config but will not issue the appropriate

      ALTER COLUMN

      DDL Statement. However, if you specify the new column size to be

      NUMERIC(15)

      (not explicitly stating a zero scale) it will work.

            Assignee:
            Unassigned
            Reporter:
            Oswaldo Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: