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)