How to use JHipster and Hibernate Envers

前端 未结 2 1044
臣服心动
臣服心动 2021-02-06 17:31

I am having trouble figuring out how to use Hibernate Envers and JHipster.

I am using PostgreSQL to store the data, and latest Jhipster 2.6.0 I just generated a JHipster

2条回答
  •  北恋
    北恋 (楼主)
    2021-02-06 17:58

    We currently use the PersistentAuditEvent entity to save changes, and not the "normal" t_user_aud table.

    This is because we add additional information (this is for security audits), compared to what Envers stores by default.

提交回复
热议问题