Hello Rick, Ty for your answer. I tried to update my entities like mentionned in your link (Not same entities inside my first post but same problem):
Entity with embeddedId Embeddable class And persistence.xml But always got this log message: Are there any solutions to fix it ? Ty ! (I'm copying this reply to SO) -- View this message in context: http://openjpa.208410.n2.nabble.com/The-id-class-specified-by-type-does-not-match-the-primary-key-fields-of-the-class-tp7586109p7586114.html Sent from the OpenJPA Users mailing list archive at Nabble.com.