- Shipped
- May 29, 2026 at 6:28 PM UTC
- Author
- Kamo
- Commit
- 7045295
Spring Data JPA derives the repository bean name from the interface's simple class name, not from the @Repository("...") qualifier value, so the prior workaround did not actually prevent the collision with the unrelated mortgage repository at **************** Services scanning both packages (KamoLOS, KamoInitializerService) failed at boot with BeanDefinitionOverrideException for bean 'loanRepository'. Renaming the interface gives Spring a distinct simple class name and so a distinct bean name (personalLoanRepository). @Repository qualifier is no longer needed.