Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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