Use getReferenceById to avoid cascade orphanRemoval flush error on registration

FixSecurityService
Shipped
18 أبريل 2026 في 7:10 م UTC
صاحب البلاغ
Kamo
Commit
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.

جميع التغييرات

مثل ما ترى الشحن؟?

كل واحد من هذه تحديثات الأراضي في مكان عملك تلقائيا. ابدأوا بالمجان وشاهدوها تنمو بعد أسبوع.

ابدأوا حراً للأبدخصخصة الفيو