You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Sandhya (JIRA)" <ji...@apache.org> on 2009/01/19 19:09:59 UTC

[jira] Updated: (OPENJPA-863) Unexpected mere-cascade behavior when cascade.all/merge specified on both sides of relationships !!!

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

Sandhya updated OPENJPA-863:
----------------------------

    Attachment: OPENJPA-863.patch

This patch the resolves the cascading merge problem.

Thanks
Sandhya

> Unexpected mere-cascade behavior when cascade.all/merge specified on both sides of relationships !!!
> ----------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-863
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-863
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jpa
>    Affects Versions: 1.2.0, 2.0.0
>            Reporter: Sandhya
>             Fix For: 1.2.0, 2.0.0
>
>         Attachments: OPENJPA-863.patch
>
>
> When cascade.all/merge is specified on both sides of relationships, and if the parent is attached and the children are newly created entities that are being merged, the merge is not cascading to the parent's relationships if the parent is attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Updated: (OPENJPA-863) Unexpected mere-cascade behavior when cascade.all/merge specified on both sides of relationships !!!

Posted by Kevin Sutter <kw...@gmail.com>.
Sandhya,
Does this patch apply to 1.2.x, 1.3.x, or trunk?  The patch itself looks
straight forward enough and I do appreciate the testcase.  Thanks.

Kevin

On Mon, Jan 19, 2009 at 12:09 PM, Sandhya (JIRA) <ji...@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/OPENJPA-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Sandhya updated OPENJPA-863:
> ----------------------------
>
>    Attachment: OPENJPA-863.patch
>
> This patch the resolves the cascading merge problem.
>
> Thanks
> Sandhya
>
> > Unexpected mere-cascade behavior when cascade.all/merge specified on both
> sides of relationships !!!
> >
> ----------------------------------------------------------------------------------------------------
> >
> >                 Key: OPENJPA-863
> >                 URL: https://issues.apache.org/jira/browse/OPENJPA-863
> >             Project: OpenJPA
> >          Issue Type: Bug
> >          Components: jpa
> >    Affects Versions: 1.2.0, 2.0.0
> >            Reporter: Sandhya
> >             Fix For: 1.2.0, 2.0.0
> >
> >         Attachments: OPENJPA-863.patch
> >
> >
> > When cascade.all/merge is specified on both sides of relationships, and
> if the parent is attached and the children are newly created entities that
> are being merged, the merge is not cascading to the parent's relationships
> if the parent is attached.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>