Hibernate Envers: Auditing an object, calling merge on it, gives an audit record EVERY time even with no change?

守給你的承諾、 提交于 2019-12-11 07:42:05

问题


As in the title. I would expect Envers to only insert an audit record if the data has actually changed (have tried to help Envers along by providing equals and hashCode methods) - does this not come as standard?

Many thanks

来源:https://stackoverflow.com/questions/26892191/hibernate-envers-auditing-an-object-calling-merge-on-it-gives-an-audit-record

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!