Re: Using a time UUID as a sequence

2014-03-20 Thread Rick Curtis
Todd - Honestly, I don't have much experience in this area. If you are able to put together a small unit test I'll try to take a look when I get some time. Thanks, Rick On Wed, Mar 19, 2014 at 10:05 PM, Todd Nine wrote: > Just to follow up my own email, my configuration in the persistence XML

Re: The id class specified by type does not match the primary key fields of the class

2014-03-20 Thread Joe_DAMS
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

Re: The id class specified by type does not match the primary key fields of the class

2014-03-20 Thread Rick Curtis
Joe - First off, the exception that I assume you meant to post isn't showing up? Second, the patch I posted wasn't for you to modify your Entities. The important part of that patch is a code fix to the OpenJPA runtime. I believe this is an OpenJPA code bug and I wanted to get others to take a look

Re: The id class specified by type does not match the primary key fields of the class

2014-03-20 Thread Joe_DAMS
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