[
https://issues.apache.org/jira/browse/CAY-2848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev closed CAY-2848.
--------------------------------
Resolution: Fixed
> 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
> Affects Versions: 4.2
> Reporter: Jadon Hansell
> Assignee: Nikita Timofeev
> Priority: Major
> Fix For: 4.2.1, 5.0-M1
>
> Attachments: update-flattened-relationship-nullify-other-columns.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)