Referencing Envers table

Since you need to reference the audited model, I would recommend you create a ModelVersion entity instead of using Envers for this. Then you can map this as @ManyToOne

1 Like