cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-2369) Compatibility issue with field-based data objects
Date Wed, 27 Sep 2017 11:43:03 GMT

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

Mime
View raw message