Rick, Sorry, I failed my copy/paste, this is the whole exception:
In http://openjpa.markmail.org/thread/bqjomb4mtqj66p2p#query:+page:1+mid:zcxl7qjlqfgv3iwi+state:results The author said "openjpa.jdbc.SynchronizeMappings=validate did the trick!" so I tried to change it in my persistence.xml file but without good results :( I also read : "The fields of a compound ID class should be one of the following types : any Java primitive type; any primitive wrapper type; java.lang.String; java.util.Date;java.sql.Date." That why I tried to change my entities but same problem. Thanks for your help -- 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-tp7586109p7586116.html Sent from the OpenJPA Users mailing list archive at Nabble.com.