On Thu, Jul 16, 2009 at 1:30 AM, coloradoflyer <[email protected]>wrote:

>
> Hi Kevin,
>
> Thanks for this link, I got things working by setting <property
> name="openjpa.DetachState" value="fetch-groups"/>.  I dont really
> understand
> why I need this, The 'loaded' value seemed like it should have had the
> proper functionality.
>

Chris, what happens when you use this instead:
<property name="openjpa.DetachState" value="loaded(AccessUnloaded=false)"/>

(I could try it myself since you provide the test, but I figure it would be
easier for you.) I ask because I tried fetch-groups to solve my "not writing
null" problem and it didn't work. It's possible your test may fail on trying
to access an unloaded field.

Thanks.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:[email protected]

Reply via email to