Apache JDO Project - CHALLENGE org.apache.jdo.tck.query.api.GetFetchPlan

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2006 > CHALLENGE org.apache.jdo.tck.query.api.GetFetchPlan





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 CHALLENGE org.apache.jdo.tck.query.api.GetFetchPlan
Ilan Kirsh

2006-10-02, 7:12 pm

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

Craig L Russell

2006-10-11, 7:11 pm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com