openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cil-Gamir <>
Subject Re: Locking Exception after Persisting new entity
Date Thu, 12 Nov 2009 15:16:45 GMT

I thought I had it working, but I was mistaken

It doesn't matter if I merge on update and persist on create. After a
persist I cannot do another merge or persist to the database without ending
in an optimistic locking exception.

The solution is REALLY simple, I've got one table that doesn't have any
relationships to any other tables.

Does anyone have any advice.

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

View raw message