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 06:44:00 UTC
[jira] [Created] (CAY-2652) New flsuh action: unable to use
meaningful FK mapped to primitive type
Nikita Timofeev created CAY-2652:
------------------------------------
Summary: New flsuh 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
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)