Apache JDO Project - org.apache.jdo.tck.api.persistencemanager.cache.Retrieve

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2005 > org.apache.jdo.tck.api.persistencemanager.cache.Retrieve





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author org.apache.jdo.tck.api.persistencemanager.cache.Retrieve
Andy Jefferson

2005-09-26, 5:45 pm

The Retrieve test has various subtests. I've a question regarding 2 of these
runTestRetrieveAllWithCollectionDFGtrue
runTestRetrieveAllWithCollectionDFGfalse


1. Presumably these should be renamed s/DFGtrue/FGtrue and s/DFGfalse/FGfalse
since in JDO2 the flag passed into OM.retrieve() is for the fetch group and
not necessarily the DFG.

2. The content of these tests seems to be the same, except that the second one
is also checking on the PCRect object having its PCPoint fields populated
correctly. If this field is not in fetch group (in either test) and
retrieve(obj, true) is called how can the PCPoint be retrieved ? Perhaps in
the second of these the call to retrieve should be retrieve(obj, false) so we
then get the chance to test the use of the parameter to retrieve() ? Or maybe
I'm missing completely the point of this test


--
Andy

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com