Rename LoanRepository → PersonalLoanRepository

Fixkamo-shared-library
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.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing