You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Arseni Bulatski (JIRA)" <ji...@apache.org> on 2019/04/26 11:09:00 UTC

[jira] [Closed] (CAY-2461) DB Entities: INT and DATE length

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

Arseni Bulatski closed CAY-2461.
--------------------------------
    Resolution: Won't Fix

MySql driver returns wrong length. This case has not any affect in current version. MaxLength field in dbEntity is used with char sequences and arrays.

> DB Entities: INT and DATE length
> --------------------------------
>
>                 Key: CAY-2461
>                 URL: https://issues.apache.org/jira/browse/CAY-2461
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>         Environment: OS X
>            Reporter: Yana
>            Priority: Trivial
>             Fix For: 4.2.M1
>
>
> Create db (in mysql), add table columns: 1. of type INT, length eg. 11; 2. of type DATE, no length
> 1. Run Reverse Engineering for that db
> 2. Verify datamap xml file
> -> INT length is 10
> -> length attribute (=10) is added to DATE



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)