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

Nikita Timofeev updated CAY-2848:
---------------------------------
    Affects Version/s: 4.2

> 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
>            Priority: Major
>         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)

Reply via email to