]
Gail Badner resolved HHH-5784.
------------------------------
Resolution: Duplicate
Save can fail when there is a transient entity reachable by multiple
paths and at least one path does not cascade on save
-------------------------------------------------------------------------------------------------------------------------
Key: HHH-5784
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5784
Project: Hibernate Core
Issue Type: Bug
Components: core
Reporter: Strong Liu
Assignee: Gail Badner
This issue is the same as JBPAPP-915, but is for the save event. It may also affect
persist and save-update events.
The fix should be very similar to what was done for JBPAPP-915 and one fix may work for
all of these types of events.
This issue needs to be fixed to support JDK 1.6. Because the iteration order for HashSets
and HashMaps is different for JDK 1.6, cascading operations to entities in a set may be
saved in a different order, causing a cascade that worked in a previous version to fail
with a TransientObjectException.
See HHH-3229 for details.
In addition, a note should go into the release notes that the change in order of cascades
is a known issue.
https://issues.jboss.org/browse/JBPAPP-2278
--
This message is automatically generated by JIRA.
For more information on JIRA, see: