You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2006/08/11 01:30:14 UTC

[jira] Assigned: (JDO-404) GetFetchPlan - Is it really forbidden to load extra fields?

     [ http://issues.apache.org/jira/browse/JDO-404?page=all ]

Craig Russell reassigned JDO-404:
---------------------------------

    Assignee: Craig Russell

> GetFetchPlan - Is it really forbidden to load extra fields?
> -----------------------------------------------------------
>
>                 Key: JDO-404
>                 URL: http://issues.apache.org/jira/browse/JDO-404
>             Project: JDO
>          Issue Type: Bug
>          Components: tck20
>    Affects Versions: JDO 2 final
>            Reporter: Ilan Kirsh
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>
> 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...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira