SyntaxFix
Write A Post
Hire A Developer
Questions
Suppress the @JoinColumn(name="categoria") on the ID field of the Categoria class and I think it will work.
@JoinColumn(name="categoria")
Categoria