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

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

> Improve support for the DECIMAL type
> ------------------------------------
>
>                 Key: CAY-2734
>                 URL: https://issues.apache.org/jira/browse/CAY-2734
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Database integration
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 4.2.B2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> SQL type {{DECIMAL}} could essentially represent any numeric type. For now 
> Cayenne doesn't have any special treatment for it. It could lead to some 
> minor problems if this type is used.
> For instance, PK that is defined like {{DECIMAL(38,0)}} would generate 
> {{Integer}} value, though it could be treated as {{Long}}. And when loaded 
> from the DB it would be set to {{BigDecimal}}
> We could add some special logic, so it would be more convenient to use.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to