Try it like this and it will work:
@OneToOne(fetch = FetchType.LAZY)
@MapsId
@JoinColumn(name = "RequestID")
private Reqeust request;
For more details, check out this article.
Try it like this and it will work:
@OneToOne(fetch = FetchType.LAZY)
@MapsId
@JoinColumn(name = "RequestID")
private Reqeust request;
For more details, check out this article.