Spring / Spring Data Access
Explain NoRepositoryBean spring annotation.
This annotation excludes repository interfaces from being picked up and prevents getting an instance being created.
The common usage of this annotation is when providing an extended base interface for all repositories in combination with a custom repository base class to implement methods declared in that intermediate interface. In this case you typically derive your concrete repository interfaces from the intermediate one but prevents creating a Spring bean for the intermediate interface.
More Related questions...