You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/27 11:43:03 UTC

[jira] [Updated] (CAY-2369) Compatibility issue with field-based data objects

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

ASF GitHub Bot updated CAY-2369:
--------------------------------
    Labels: pull-request-available  (was: )

> Compatibility issue with field-based data objects
> -------------------------------------------------
>
>                 Key: CAY-2369
>                 URL: https://issues.apache.org/jira/browse/CAY-2369
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 4.1.M1
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>              Labels: pull-request-available
>             Fix For: 4.1.M1
>
>
> This one is from [dev@list|https://lists.apache.org/thread.html/72ba8d1c42fd9064652e7ff04647383e1777e1326a0ceeffaedfe87c@%3Cdev.cayenne.apache.org%3E].
> Data inserted in _4.0_ can't be updated in _4.1_ if optimistic locking for nullable attribute mapped on java primitive type is used. This is because version _4.1_ use field-based data objects that store primitive as primitive, thus there can't be _nulls_.
> Can be solved by modifying *cgen* templates to use boxed type internally for nullable attributes.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)