cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <>
Subject [jira] [Created] (CAY-2369) Compatibility issue with field-based data objects
Date Wed, 27 Sep 2017 11:41:01 GMT
Nikita Timofeev created CAY-2369:

             Summary: Compatibility issue with field-based data objects
                 Key: CAY-2369
             Project: Cayenne
          Issue Type: Bug
    Affects Versions: 4.1.M1
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.1.M1

This one is from [dev@list|].
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

View raw message