import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
@Entity
@JsonIdentityInfo(generator=JSOGGenerator.class)
<BUG>public class LinkSet extends BaseEntity {
@ManyToOne(cascade = { CascadeType.PERSIST, CascadeType.MERGE },</BUG>
fetch = FetchType.EAGER)
@JoinColumn(name = "startType_fk", nullable = false)
private TargetType startType;

import javax.persistence.JoinColumn;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
@Entity
@JsonIdentityInfo(generator=JSOGGenerator.class)
public class LinkSet extends BaseEntity {
@JsonView({ View.Schemes.class })
@Column(name = "Name")
private String name;
@ManyToOne(cascade = { CascadeType.PERSIST, CascadeType.MERGE },
fetch = FetchType.EAGER)
@JoinColumn(name = "startType_fk", nullable = false)
private TargetType startType;
