EclipseLink - non Entity as target entity in the relationship attribute

 ̄綄美尐妖づ 提交于 2019-12-05 14:01:33

I usually see this error when I forget to add a class in my persistence.xml that another entity tries to use. Make sure that the persistence-unit name you are passing in to create the EntityManagerFactory is the one you want (totemPU). It seems like it maybe using a persistence-unit that includes entidade.item but not entidade.Departamento.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!