Hello,

I'm getting a message from openjpa because I'm trying to persist an object
that already has an id. The normal case in my code is that this field is
generated but I also want to set the id on my own. How can I achieve this?
 
Message from openjpa: "This existing value was either provided via an
initializer or by calling the setter method.  You either need to remove
the @GeneratedValue annotation or modify the code to remove the
initializer processing. "

So actually my question is how can I modify the code to remove the
initializer processing.

cheers, Marcus
-- 
View this message in context: 
http://n2.nabble.com/modify-the-code-to-remove-the-initializer-processing-tp3119088p3119088.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to