如何在审核表中添加一个使用Hibernate Envers完成的操作(修改,创建,删除)的列?
我知道操作的类型表示像数字一样,但是我可以使它们以字符串类型(“ update / delete / insert”)出现,
我认为Rev或RevType显示了哪种操作类型(我尝试按照此顺序进行编辑,删除和插入结果)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
更改历史记录存储在与某些实例相对应的Some_entity_Aud表中。 some_entity_aud表有一个字段-RevType-由0到2:
The change history is stored in the SOME_ENTITY_AUD tables corresponding to the SomeEntity instances. The SOME_ENTITY_AUD table has a field - REVTYPE - Represented by numbers from 0 to 2:
See more details in the same question.