Как настроить автозаполнение в Excel

Новая аннотация @JsonIgnoreProperties разрешает многие проблемы с другими параметрами.

@Entity

public class Material{
   ...    
   @JsonIgnoreProperties("costMaterials")
   private List costSuppliers = new ArrayList<>();
   ...
}

@Entity
public class Supplier{
   ...
   @JsonIgnoreProperties("costSuppliers")
   private List costMaterials = new ArrayList<>();
   ....
}

Проверьте здесь. Он работает так же, как в документации: http://springquay.blogspot.com/2016/01/new-approach-to-solve-json-recursive.html

0
задан Ishtiaq 17 January 2019 в 08:06
поделиться