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] [Commented] (OPENJPA-2363) Multiple collections with same class type in a single entity : clear() delete shared entities from collections.
Date Wed, 03 Apr 2013 09:33:16 GMT

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

Guillaume Chauvet commented on OPENJPA-2363:
--------------------------------------------

The workaround for my unitary test is to set FetchMode = LAZY instead of EAGER for all collections...
but it doesn't work in our program.
                
> Multiple collections with same class type in a single entity : clear() delete shared
entities from collections.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2363
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2363
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Guillaume Chauvet
>         Attachments: OPENJPA-2363.zip
>
>
> Please find attached a draft including a unitary test that reproduce the problem exposed
on nabble [1].
> [1] http://openjpa.208410.n2.nabble.com/Collections-with-same-class-type-in-a-entity-deleted-after-update-transaction-td7583212.html

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