stack overflow in Many To One relationship to code example
Example 1: stack overflow in Many To One relationship to
@Data
public class Team {
@OneToMany(mappedBy = "team")
@ToString.Exclude
private List<Player> players;
}
Example 2: stack overflow in Many To One relationship to
@Data
@ToString(exclude = "players")
public class Team {
// ...
}