Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1094951 - [GSS](6.4.0) HHH-9261 Multiple detached representations of the same entity cannot be merged using cascade=merge
[GSS](6.4.0) HHH-9261 Multiple detached representations of the same entity ca...
Status: VERIFIED
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Hibernate (Show other bugs)
6.1.0
Unspecified Unspecified
urgent Severity urgent
: DR11
: EAP 6.4.0
Assigned To: Gail Badner
Martin Simka
:
: 1095185 (view as bug list)
Depends On:
Blocks: 1121629 1094955 1095192
  Show dependency treegraph
 
Reported: 2014-05-06 14:29 EDT by Stephen Fikes
Modified: 2018-03-06 15:37 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
An issue in this release of JBoss EAP 6 could result in an `java.lang.IllegalStateException: An entity copy was already assigned to a different entity` error being encountered. The issue presents during a cascade merge if multiple entity instances with the same identity are detected. As they cannot be automatically merged, the exception is raised. This issue is expected to be resolved in a future release of the product.
Story Points: ---
Clone Of:
: 1094955 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1129983 None None None Never

  None (edit)
Description Stephen Fikes 2014-05-06 14:29:00 EDT
Description of problem:
https://hibernate.atlassian.net/browse/HHH-9106

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Brett Meyer 2014-05-07 10:39:35 EDT
*** Bug 1095185 has been marked as a duplicate of this bug. ***
Comment 2 Gail Badner 2014-05-23 21:02:33 EDT
Is this still planned for 6.3.0? 

There are some known issues related to this fix. They should probably be included in release notes. I've also added HHH-9216 for adding documentation about this fix to the upstream documentation. Should that also be included in Hibernate doc for EAP?

I'm not sure if I can finish that by Wednesday. Can it be deferred?  I'm still getting up-to-speed on EAP processes, so I'm unsure of the impact on the one-off. Can someone provide guidance about this?
Comment 5 Gail Badner 2014-06-25 21:11:43 EDT
New JIRA issue for backporting HHH-9106 to 4.2 branch is HHH-9261.
Comment 9 Gail Badner 2014-11-20 21:45:35 EST
Fixed for 6.4.0.
Comment 10 Kabir Khan 2014-11-21 06:34:35 EST
Fixed by Hibernate 4.2.16.Final upgrade https://bugzilla.redhat.com/show_bug.cgi?id=1121629
Comment 11 Martin Simka 2014-11-27 07:25:27 EST
verified on EAP 6.4.0.DR11 / Hibernate 4.2.16

Note You need to log in before you can comment on or make changes to this bug.