cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2204) cdbimport: noop change is reported for DECIMAL columns
Date Mon, 23 Jan 2017 12:27:26 GMT

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

Nikita Timofeev closed CAY-2204.
--------------------------------
    Resolution: Fixed

> cdbimport: noop change is reported for DECIMAL columns
> ------------------------------------------------------
>
>                 Key: CAY-2204
>                 URL: https://issues.apache.org/jira/browse/CAY-2204
>             Project: Cayenne
>          Issue Type: Bug
>         Environment: MySQL enterprise v 5.6
>            Reporter: Andrus Adamchik
>            Assignee: Nikita Timofeev
>            Priority: Minor
>
> In MySQL I have a table that has a number of columns that are defined like this:
> {noformat}
> `ACOLUMN` decimal(2,0) DEFAULT NULL
> {noformat}
> When I do cdbimport, these columns are imported in Cayenne model as:
> {noformat}
> <db-attribute name="ACOLUMN" type="DECIMAL" length="2"/>
> {noformat}
> On subsequent runs I always get a message in the logs saying:
> {noformat}
> [INFO]     Set Column Type      mytable.ACOLUMN scale: -1 -> 0
> {noformat}
> No changes are loaded to the DataMap as a result. So the message is invalid.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message