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?