SyntaxFix
Write A Post
Hire A Developer
Questions
I had this error when trying to save an entity through JPA.
It was because I had a column with @JoinColumn annotation that didn't have @ManyToOne annotation.
@JoinColumn
@ManyToOne
Adding @ManyToOne fixed the issue.