openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrgiba <>
Subject Supposed concurrent access issue to PCPath instance
Date Tue, 08 Oct 2013 20:18:20 GMT

Has anyone ever experienced any issue with concurrent access to PCPath
resources ?

I got the error below once:

The error happened in a multi user scenario when processing the following

Looking at the OpenJPA 2.2.1 source code, I noticed that not all methods
that read/write the _actions collection from CandidatePath class (super
class of PCPath) have a synchronized block or any other concurrency control.
If the same PCPath instance can really be accessed by more than one thread,
then there are really chances to trouble

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

View raw message