| I think if whether having the equals/hashCode really influences the function of envers, we should raise a warning to the console when no equals/hashCode method found. Or the people are hard to found the reason causing the problem. I will add equals/hashCode method to the embeddable and test again. And normally, it is not necessary to add equals/hashCode method to the entity as comparing id is enough at most situation. If equals/hashCode method is necessary to the entity for auditing, a warning is necessary when the entity without equals/hashCode method is audited. |