Hi,
I have TestEntity backed by table name TEST as shown below and have enabled spring data envers. The audit table is called TEST_AUD. I am trying to write a custom query to fetch the Revisions based on userId, but couldn't find a way to do it. please could someone help with this?
@Entity
@Table(name = "TEST")
public class TestEntity {
@Id
private long id;
@Column("USER_ID")
private long userId;
}
Thanks