You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by "Matt DeHoust (JIRA)" <em...@incubator.apache.org> on 2011/09/02 17:33:10 UTC

[jira] [Updated] (EMPIREDB-113) Should preserve the decimal digits of DECIMAL columns

     [ https://issues.apache.org/jira/browse/EMPIREDB-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt DeHoust updated EMPIREDB-113:
----------------------------------

    Attachment: empire-db-codegen.patch.txt

The patch includes a test case to show the problem, as well as a proposed solution.

> Should preserve the decimal digits of DECIMAL columns
> -----------------------------------------------------
>
>                 Key: EMPIREDB-113
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-113
>             Project: Empire-DB
>          Issue Type: Bug
>          Components: CodeGenerator
>    Affects Versions: empire-db-2.1.0-incubating
>            Reporter: Matt DeHoust
>         Attachments: empire-db-codegen.patch.txt
>
>
> The problem is that the codegen parser does not set the decimal digits for the size of DECIMAL columns. This leads to problems if you use empire-db to generate your schema. You expect DECIMAL(10,2) but get DECIMAL(10,0).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira