我正在尝试使用spring data mongodb启用自动审计字段,如所解释的那样。下面是我的配置类@EnableWebMvc@EnableMongoRepositoriesmongoAuditingHandler': Cannot create inner bean '(inner bean)#6dca0c34' of type [org
我在MongoDB的Entity中使用@PrePersist和@PreUpdate有一个问题,我有一个超类,它有像createAt和updateAt这样的元字段,如果它定义为@Entity,一切都可以正常工作这是我的超类 @EntityListeners(AuditingEntityListener.class) pri
我目前正在使用SpringDataMongoDB1.6.0版本,我知道它有审计功能。我将@EnableMongoAuditing注释放在配置类的顶部。我的豆子在下面:public class MyBean{
private AnotherCustomBean anotherCustomBean = new AnotherCustomBean();
private Date creationDate;
priv
我正在尝试使用Spring Data的审计功能(与SpringBoot和Spring Data Rest结合使用),但在保存时没有设置审计字段。根据,我应该能够在我的实体上放置适当的审计注释(@CreatedDate/等),并使AuditorAware<>可用于应用程序上下文。我知道我的auditor感知bean是通过在调