Annotation Interface EnableEnversRepositories


@Target(TYPE) @Retention(RUNTIME) @Documented @EnableJpaRepositories public @interface EnableEnversRepositories
Annotation to enable Envers repositories. Will scan the package of the annotated configuration class for Spring Data repositories by default.

This annotation is a meta-annotation for @EnableJpaRepositories overriding the default repositoryFactoryBeanClass() to EnversRevisionRepositoryFactoryBean.

Since:
2.5
Author:
Mark Paluch, Greg Turnquist
See Also: