You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/01/21 12:49:26 UTC

[jira] [Commented] (CAY-2204) cdbimport: noop change is reported for DECIMAL columns

    [ https://issues.apache.org/jira/browse/CAY-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15832972#comment-15832972 ] 

Nikita Timofeev commented on CAY-2204:
--------------------------------------

Fixed per https://github.com/apache/cayenne/commit/da222d24dbfdd51eef02dbed7629d4aaa51eaf75

> 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)