jeudi 15 décembre 2016

error on mapping with @EmbeddedId

Eclipse error on mapping with @EmbeddedId.

this error occurs when you use composite id on JPA project 
To resove it you must do like this :
Preferences -> Java Persistence -> JPA -> Errors/Warnings -> Attribute -> Embedded ID classes should not contain relationship mappings: (Ignore)

Aucun commentaire:

Enregistrer un commentaire