KamoCRM

Use getReferenceById to avoid cascade orphanRemoval flush error on registration

FixSecurityService
Dikirim
18 April 2026 pukul 19.10 UTC
Penulis
Kamo
Berkomitmen
8829a3d

Loading Organization via findById inside @Transactional caused Hibernate to detect the features collection was de-referenced during auto-flush, throwing JpaSystemException. getReferenceById returns a lazy proxy without loading any collections.

Semua perubahan

Seperti apa yang Anda lihat pengiriman?

Semua itu tiba di ruang kerjamu sendiri. Mulailah dengan rencana gratis dan baca halaman ini lagi dalam sebulan.

Mulai Bebas SelamanyaTampilkan Harga