I think this may still be an issue (Hibernate 4.3.7.Final). When I merge a detached object that contains a collection, the collection is marked as dirty even though it hasn't logically changed. This results in the object version number being unnecessarily incremented. I have a test case (in HHH-9105 format), but don't think I can add to a closed case.
|