0

Audit class :

public class Audit {
    private Long createdDateTime;
    private Long updatedDateTime;
    private String createdBy;
    private String updatedBy;
}

Entity

public class User extends Audit {
  

}

Is there a way to listen to Entity update/create event in spring redis?

cnsnaveen
  • 345
  • 3
  • 9

1 Answers1

0

As of now update/create events can only be captured in spring-data-jpa. Why don't you use spring-data-jpa as the permanent store since it has more built in functionalities and redis as a cache store?