openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Kelapure <>
Subject Optimistic locking errors .....cause ?
Date Tue, 20 Oct 2009 12:18:42 GMT

When running the same Open JPA 2.0 cache load test on two different cache
providers, one of the providers  makes the test prone to optimistic locking

Can someone explain why using one provider results in optimistic locking
errors while the other provider (default concurrent provider) has no such
errors. Is performance of the cache provider a factor in this explanation ?

I am trying to understand the relationship between optimistic lock violation
and Cache Provider characteristics.

Sample Exception -->
<openjpa-2.0.0-SNAPSHOT-r422266:826665 nonfatal store error>
org.apache.openjpa.util.OptimisticException: Optimistic locking errors were
detected when flushing to the data store.  The following objects may have
been concurrently modified in another transaction:

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

View raw message