Eclipse error on mapping with @EmbeddedId

后端 未结 5 1468
伪装坚强ぢ
伪装坚强ぢ 2020-12-29 09:26

I have an entity with composite key so I use the @Embeddable and @EmbeddedId annotations. Embeddable class looks like this :

@Embeddable
public class DitaAdm         


        
5条回答
  •  长情又很酷
    2020-12-29 09:35

    In my case, the problem was not resolved until I set the following to Ignore:

    Project Facets > JPA > Errors/Warnings > Type > Mapped Java Class is a member class
    

提交回复
热议问题