Chris, 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"/> Simon 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: http://n2.nabble.com/Unmanaged-Object-Problems-tp4850707p4861230.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
