openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <>
Subject RE: detachment, getReference(), and openjpa.DetachState
Date Wed, 17 Jan 2007 20:07:22 GMT
> > The tests can be made to pass by setting the openjpa.DetachState
> > property to 'fgs',
> 'loaded' is the proper default.  If the CTS is relying on any state  
> being loaded after a call to getReference(), then those CTS 
> tests are  
> wrong and should be reported as such.  The description of  
> EntityManager.getReference explicitly states that state might be  
> lazily fetched and that you can't rely on the state being available  
> on detach unless you've accessed it.

Yes, agreed. The tests have been challenged and are being removed from
the CTS. Nonetheless, the behavior that the CTS relied on still seems

I should have been more clear in my original email: I'm not trying to
figure out how to pass the CTS test, but am wondering if we should be
adding the loaded+fetchgroup option, since it seems useful.

Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

View raw message