Spring Data REST - Exception when PATCH is sent with an empty array in request body
问题 I am using Spring Data REST and I have the following entities in my domain. Atoll.class @Entity @Data public class Atoll { @Id @GeneratedValue private Long id; private String atollName; @OneToMany(cascade = CascadeType.ALL, orphanRemoval = true) @JoinColumn(name = "atoll_id") private List<Island> islands = new ArrayList<>(); } Island.class @Entity @Getter @Setter public class Island extends Auditable{ @Id @GeneratedValue private Long id; private String islandName; @Override public boolean