Jadon Hansell created CAY-2848: ---------------------------------- Summary: Vertical Inheritance: Updating one-to-many with inverse nullifies other columns. Key: CAY-2848 URL: https://issues.apache.org/jira/browse/CAY-2848 Project: Cayenne Issue Type: Bug Reporter: Jadon Hansell Attachments: update-flattened-relationship-nullify-other-columns.patch
When there is a one-to-many relationship on the child DbEntity of a vertical inheritance scenario, giving it an inverse fails when the relationship is updated to anything non-null. An update query is issued that contains the PK of the child row and the new ID for the relationship, but sets every other column to null. I've included a breaking test as a patch in 4.2-STABLE. -- This message was sent by Atlassian Jira (v8.20.10#820010)