DATACMNS-620 - Repositories now creates reflective RepositoryInvokers for repositories with redeclared CRUD methods.
If repository interfaces redeclare CRUD methods we need to use a ReflectionRepositoryInvoker rather than the CRUD one to make sure we pick up the customizations applied to the method declaration (e.g. caching or transaction annotations).
This is already fixed in master due to the move to the Spring Data REST RepositoryInvoker API.
@ -202,7 +205,7 @@ public class Repositories implements Iterable<Class<?>> {
@@ -202,7 +205,7 @@ public class Repositories implements Iterable<Class<?>> {
Assert.notNull(repository,String.format("No repository found for domain class: %s",domainClass));
@ -217,6 +220,25 @@ public class Repositories implements Iterable<Class<?>> {
@@ -217,6 +220,25 @@ public class Repositories implements Iterable<Class<?>> {