[ 
https://issues.apache.org/jira/browse/CAY-2848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17823781#comment-17823781
 ] 

Jadon Hansell commented on CAY-2848:
------------------------------------

I believe this was an existing error before CAY-2838, I've begun migrating 
columns back to the child DbEntities after that ticket to test and ran into 
this.

> 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
>            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