]
Steve Ebersole closed HHH-799.
------------------------------
Closing stale resolved issues
merge() and embedded composite identifiers
------------------------------------------
Key: HHH-799
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-799
Project: Hibernate Core
Issue Type: Bug
Components: core
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Priority: Minor
Fix For: 3.1 beta 2
attempting a merge() on an entity with an embedded composite identifier currently breaks
due to the fact that internally the merge processing attempts to call get() on any
transient entities; the problem there is that in the case of embedded composite
identifiers the get processing actually populates the state into the entity class instance
passed in as the identifier.
Then simple fix seems to be just forcing a deep copy of the entity being merged in this
case and passing the copy into get(). Need more tests to verify though.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: