[
https://issues.apache.org/jira/browse/OPENJPA-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697068#comment-13697068
]
Arne Limburg commented on OPENJPA-2405:
---------------------------------------
Thanks for fixing this, Jody. Your suggested (and implemented) behavior matches
my expectation :-)
> EntityManager.merge does not work for entity that is managed by another
> EntityManager
> -------------------------------------------------------------------------------------
>
> Key: OPENJPA-2405
> URL: https://issues.apache.org/jira/browse/OPENJPA-2405
> Project: OpenJPA
> Issue Type: Bug
> Components: kernel
> Affects Versions: 2.2.3
> Reporter: Arne Limburg
> Assignee: Jody Grassel
> Fix For: 2.3.0
>
> Attachments: OPENJPA-2405.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> EntityManager.merge does not work for entity that is managed by another
> EntityManager. Instead of updating that entity OpenJPA tries to persist the
> entity a second time
--
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