openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Chauvet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2349) DetachCopy : association not null when cascade detach not set
Date Mon, 11 Mar 2013 12:57:12 GMT

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

Guillaume Chauvet updated OPENJPA-2349:
---------------------------------------

    Attachment: OPENJPA-2349.zip
                OPENJPA-2349.patch

Please, attached the new unitary test and the related patch. Tested on branches 2.2.1 and
2.3.0.
However, I'm not certain at 100% of my patch, especially on arrays fields.
                
> DetachCopy : association not null when cascade detach not set
> -------------------------------------------------------------
>
>                 Key: OPENJPA-2349
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2349
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.1.0, 2.1.1, 2.2.0, 2.2.1
>            Reporter: Guillaume Chauvet
>            Priority: Minor
>         Attachments: OPENJPA-2349.patch, OPENJPA-2349.zip
>
>
> When we detached a copy of a managed entity who contains a one-to-many association with
the detach cascade not specified, the managed copy always contains the association with these
children entities.
> Attached please find a draft including a unitary test capable of systematically reproducing
this potential problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message