KamoCRM

Rename LoanRepository → PersonalLoanRepository

Fixkamo-shared-library
Shipped
29 மே, 2026 அன்று 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?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing