openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <>
Subject Re: Unmanaged Object Problems
Date Mon, 05 Apr 2010 19:15:56 GMT
On Mon, Apr 5, 2010 at 2:45 PM, Rick Curtis <> wrote:

> I believe that OpenJPA should be throwing an exception as
> pasted below, rather then the one that you are seeing.

I agree that a better message is needed and there was certainly a problem
with my code. However, I'm wondering if there is still a general race
condition problem? Suppose 2 threads are slamming in EntityA records, all
with a reference to a single EntityB record. Would the possibility of this
exception being triggered be pretty high?

Daryl Stultz
6 Degrees Software and Consulting, Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message