I have entities with joined inheritance:
Supporter
@Entity
@Inheritance(strategy=InheritanceType.JOINED)
@Js
You should be able to workaround this by setting @JsonTypeInfo(use= JsonTypeInfo.Id.NONE) at the property/method level e.g.
Try with this:
@ManyToOne // same error with @OneToOne
@JoinColumn(name = "supporter_id", referencedColumnName = "id", nullable = false)
@JsonTypeInfo(use= JsonTypeInfo.Id.NONE)
public SupporterEntity getSupporter() {
return supporter;
}