openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
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 <curtisr7@gmail.com> 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.
http://www.6degrees.com
mailto:daryl@6degrees.com

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