openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Spiro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2203) Dependent elements deleted upon merge, although the references were not removed
Date Thu, 31 May 2012 07:32:22 GMT

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

Michael Spiro updated OPENJPA-2203:
-----------------------------------

    Attachment: MergeBugTest.zip

Attached is an Eclipse project containing the model an the user test for this bug.
                
> Dependent elements deleted upon merge, although the references were not removed
> -------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2203
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2203
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Michael Spiro
>         Attachments: MergeBugTest.zip
>
>
> Provided we have a model with a master entity and a collection of dependent elements
marked with @DependentElement annotation. When a master entity is loaded, changed (without
changes on the depoendent elements and without deleting the references to them) and then (redundantly)
merged, then the dependent elements are deleted upon the transaction commit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message