gavin wrote:
OK, time to stop blaming other people for your problems, and start from the assumption that it is your own code at fault. Of course there is no bug in Hibernate in this incredibly well-tested functionality, which is in use in thousands of production systems.
Please tell me where I'm blaming others, Gavin.
Please tell me where I said the problem is in the Hibernate code.
I've never said either. I reported a repeatable problem and every test I've done to rule out my code as a culprit. When unit tests on equals(), compareTo() and using HashSet() say everything is fine in my code I have a hard time swallowing the "it's your own code, moron" line.
Is it in the Hibernate code? I doubt it and I
never pointed my finger in that direction. I assumed I overlooked something in the documentation or it's something in my environment. I was reporting a problem in the hopes that somebody else had seen similiar behavior and identified a fix. Max is the one who started pissing on my code, perhaps because he confused me with the earlier poster, and that's probably why you think I'm pissing on hibernate.
P.S., I never use a debugger into third party code. In my experience this inevitably leads to fragile code because it leads to the perceived problem being fixed, not the real one. That's why I tried to find the implementing class this afternoon. Perhaps you can tell me which file that is....
Meanwhile I have to get back to writing a trivial parent/child class so that I can either rule out my environment (if it works) or publish for others to test on their system (if it fails).