- Ya
- 8 Agosti 2026, 22:32 UTC
- Mwandishi
- Kamo
- Ahadi ya
- 7791a24
**************** is @Enumerated(STRING) and holds RoleRightType names, so a default role granting mortgage stores "LOS_VIEW_PIPELINE". That is the third place the rename reached into — after ORG_FEATURES (id, safe) and the app-config table (already repaired). Left alone those 48 rows no longer resolve to any constant at all now that the personal-loan rights are PLOS_*, so Hibernate throws when it reads them. No CREATED_AT to bound against here, and none is needed: nothing can write an LOS_* name again, so any row holding one is unambiguously a pre-rename mortgage grant and the repair is permanently idempotent. That is the dividend from not re-using the freed name — the app-config repair needed a timestamp cutover precisely because LOS was still a live ServiceType name. Every stale row already has an MLOS_ twin on the same default role carrying an identical setting (verified in prod: 0 of 48 differ), so the collision branch drops them without losing a grant.