Use getReferenceById to avoid cascade orphanRemoval flush error on registration

FixSecurityService
已装运
2026年4月18日 19:10 UTC
作者
Kamo
提交
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.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价