Starting in 4.2.7, the following association mapping results in an error on flushing (regardless of whether there was a change to the collection).
I've attached a test case (org.hibernate.test.manytomany.mapunique.ManyToManyUniqueDelOrphanTest). The test case succeeds under 4.2.6, but fails under 4.2.7 (and master).
I believe this regression was caused by the fix for HHH-6484.
Thanks much for the well done test case
Wow, that was quick—thanks! I'm off work till Monday, so I'll test my application with a snapshot build at that time.
I tested my application with the latest 4.8 snapshot, and your fix worked--I no longer get the error. Thanks for the fast turn-around!
No problemo – thanks for the confirmation
(I meant 4.2.8 snapshot, BTW)