openjpa-dev mailing list archives

[jira] [Updated] (OPENJPA-2405) EntityManager.merge does not work for entity that is managed by another EntityManager

Date

Tue, 25 Jun 2013 09:40:20 GMT

[ https://issues.apache.org/jira/browse/OPENJPA-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arne Limburg updated OPENJPA-2405:
----------------------------------
Attachment: OPENJPA-2405.patch
Added test that reproduces the problem
> 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
> Affects Versions: 2.2.3
> Reporter: Arne Limburg
> Attachments: OPENJPA-2405.patch
>
>
> 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