Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-31230

Ofbiz column widening does not work for zero scale numeric columns

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: