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] [Commented] (CAY-2204) cdbimport: noop change is reported for DECIMAL columns
Date Sat, 21 Jan 2017 12:49:26 GMT

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

Mime
View raw message