Skip to content

spring data envers doesn't support custom queries.  #124

@ratheemohan

Description

@ratheemohan

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions