openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Vorburger" <>
Subject RE: Locking Exception after Persisting new entity
Date Fri, 13 Nov 2009 09:39:33 GMT
> I think build time enhancement solved it.

FYI: The run-time enhancement via subclassing has lot's of other
problems (the agent seems fine though; it does essentially the same
thing as the build time thing)... we specify
openjpa.RuntimeUnenhancedClasses = unsupported (@see
ref_guide_conf_openjpa.html#openjpa.RuntimeUnenhancedClasses) in our
OpenJPA bootstrap stuff to prevent it in all situations (final runtime &
unit/integration tests).

PS, also see

-----Original Message-----
From: Cil-Gamir [] 
Sent: Friday, November 13, 2009 8:56 AM
Subject: Re: Locking Exception after Persisting new entity


I think build time enhancement solved it.

I'm getting a different error now

org.apache.openjpa.persistence.EntityExistsException: An object of type
"" with oid "0"
already exists in this context; another cannot be persisted.

But at least the optimistic locking thing has taken a hike

Unfortunately I have a teambuilding thing on today... so I can't fix
this thing any further.

Thanks a lot for the help Daryl


View this message in context:
Sent from the OpenJPA Users mailing list archive at


 This email and any files transmitted with it are CONFIDENTIAL and intended
  solely for the use of the individual or entity to which they are addressed.
 Any unauthorized copying, disclosure, or distribution of the material within
  this email is strictly forbidden.
 Any views or opinions presented within this e-mail are solely those of the
  author and do not necessarily represent those of Odyssey Financial
Technologies SA unless otherwise specifically stated.
 An electronic message is not binding on its sender. Any message referring to
  a binding engagement must be confirmed in writing and duly signed.
 If you have received this email in error, please notify the sender immediately
  and delete the original.

View raw message