openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Droscher <>
Subject RE: Unmanaged Object Problems
Date Tue, 06 Apr 2010 20:41:40 GMT


I have seen this kind of error in quite a few cases, usually under load -
what can happen is the entity being refreshed/join is in the middle of being
detached from a previous operation and thus the merge sees the wrong state.
I found that a more immediate detach works wonders, i.e. putting the
following in persistence.xml

<property name="openjpa.AutoDetach" value="close, commit, nontx-read"/>


crispyoz wrote:
> By intermittent I mean that I can basically use the same method for
> linking
> my Entities and quite randomly I suddenly I'll make some new entity
> classes
> and I get these kinds of problems.  

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

View raw message