DEV Community

Discussion on: Mapping JPA entities with Kotlin

Collapse
 
felipebelluco profile image
Felipe Belluco • Edited

Shouldn't I have to declare @JoinColumn(name = "task_list_id")? I keep getting the following error:

ERRO: column planos0_.convenio_id_convenio does not exist

In my case, Plano is task and Convenio is TaskList.