To be clear, the fix introduced here deals with element-collections as a whole regardless of the container class type. The fix simply guarantees that Envers will now generate the same audit history for a collection of embeddables regardless of the existence of the hash-code and equals methods. In short, Envers delegates the element equality-check to ORM's collection persister which means Envers detects an element's equality exactly how ORM does without any special hash-table comparisons as it used previously. |