如何在 workbench 中正确使用 @InverseRelationShadowVariable

How to properly use @InverseRelationShadowVariable in workbench

使用 @InverseRelationShadowVariable 注释会导致 java.lang.Whosebug 异常。我的猜测是,规划实体和规划变量之间的关系现在是循环的,并导致数据绑定期间无休止的引用。

在使用注释时是否有特定的方法来避免这种情况?

通过在逆变量上添加 @JsonIgnore 注释来修复它。