Bypass JPA org lookup to avoid Hibernate cascade flush error

FixSecurityService
出荷済み
2026年4月18日 19:26 UTC
プロフィール
Kamo
コンテンツ
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.

すべての変更

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る