You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2020/03/30 08:52:00 UTC

[jira] [Updated] (CAY-2652) New flush action: unable to use meaningful FK mapped to primitive type

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

Nikita Timofeev updated CAY-2652:
---------------------------------
    Summary: New flush action: unable to use meaningful FK mapped to primitive type  (was: New flsuh action: unable to use meaningful FK mapped to primitive type)

> New flush action: unable to use meaningful FK mapped to primitive type
> ----------------------------------------------------------------------
>
>                 Key: CAY-2652
>                 URL: https://issues.apache.org/jira/browse/CAY-2652
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.2.M1
>
>
> Meaningful FK mapped to a primitive type always results in 0 value in the database. This is because primitive types create attribute change in the diff (from {{null}} to {{0}}) and that diff operation overrides FK change operation (this is what actually changed in the new implementation).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)