You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2017/01/17 16:07:26 UTC
[jira] [Created] (CAY-2204) cdbimport: noop change is reported for
DECIMAL columns
Andrus Adamchik created CAY-2204:
------------------------------------
Summary: 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)