db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilan Kirsh <ki...@objectdb.com>
Subject CHALLENGE org.apache.jdo.tck.query.api.GetFetchPlan
Date Mon, 02 Oct 2006 23:52:56 GMT
Hi,

This is also known as JDO-404 in the issue tracker.

The tests in org.apache.jdo.tck.query.api.GetFetchPlan validate using jdoPostLoad that some
fields are not loaded in the query results. This doesn't make sense for implementations in
which avoiding loading value fields doesn't give any performance benefit, and I think that
it is also against the spec (page 127): 

"When an instance is loaded using getObjectById , a Query is executed, or an Extent is iterated,
the implementation may choose to use the active fetch groups to prefetch data." - may choose
and not must...

Regards,

Ilan Kirsh
ObjectDB Software
http://www.objectdb.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message