Bypass JPA org lookup to avoid Hibernate cascade flush error

FixSecurityService
Shipped
18 अप्रैल 2026 को 7:26 pm बजे UTC
Author
Kamo
Commit
f4123e8

**************** triggers **************** which causes a Hibernate auto-flush. That flush fails because Organization.features was previously replaced with a plain List (cascade=all-delete-orphan violation). The resendVerification endpoint only needs the org ID, so replace the JPA call with a plain jdbcTemplate query — the same pattern already used for user lookup in this method.

All changes

जैसा कि आप शिपिंग देखते हैं?

इन अद्यतनों में से प्रत्येक स्वचालित रूप से अपने कार्यक्षेत्र में उतरता है। प्रारंभ करें और सप्ताह के बाद इसे सप्ताह के अंत में देखें।.

Foreverमूल्य निर्धारण देखें