bojan vukasovic opened DATACMNS-1230 and commented
I cannot move repo implementation in different namespace than where I define interface even if I specify component scan for mulitple namespaces with
@EnableElasticsearchRepositories(basePackages = {"com.a", "com.b"})
.
The problem lies in RepositoryBeanDefinitionBuilder where
public Iterable<String> getBasePackages() {
return Collections.singleton(ClassUtils.getPackageName(fragmentInterfaceName));
}
should be
public Iterable<String> getBasePackages() {
return configuration.getBasePackages();
}
Is there specific reason for this kind of implementation?
No further details from DATACMNS-1230