Wow, after scouring the internet for a week I finally run into this! I’m not crazy! Unfortunately, what I am is pretty inexperienced with Hibernate. I was certain that I was just missing something simple. I dug into the guts trying to debug this and came to the exact same problem being described here. Despite not explicitly setting any collection to another collection, I’m getting mismatched keys. (Also ran right into the “silly users” comment and cried.) So what’s a developer to do? This is breaking our test suite and I can’t figure out any way around this. Even if I could wait for a change to the Hibernate core, I feel like that’s a looong time coming. Is there a simpler way around this issue? |