KamoCRM

Use getReferenceById to avoid cascade orphanRemoval flush error on registration

FixSecurityService
Name
lúc 19:10 18 tháng 4, 2026 UTC
Tác giả
Kamo
Cam kết
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.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Tất cả những thứ đó đều đến trong không gian làm việc của anh. Bắt đầu với kế hoạch miễn phí và đọc lại trang này trong một tháng.

Bắt đầu tự do mãi mãiXem truy cập