db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Bengtson (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-473) Retrieve/Refresh(obj,useFetchGroup) uses the fetch group fields. It would be nice if it applied the whole fetch plan contract Retrieve/Refresh(obj,useFetchPlan)
Date Fri, 16 Mar 2007 17:28:09 GMT
Retrieve/Refresh(obj,useFetchGroup) uses the fetch group fields. It would be nice if it applied
the whole fetch plan contract Retrieve/Refresh(obj,useFetchPlan) 
-----------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JDO-473
                 URL: https://issues.apache.org/jira/browse/JDO-473
             Project: JDO
          Issue Type: Wish
          Components: specification
    Affects Versions: JDO 2 final
            Reporter: Erik Bengtson
         Assigned To: Craig Russell
             Fix For: JDO 2 maintenance release 1


The current Retrieve/Refresh(obj,useFetchGroup), useFetchGroup argument when set to true determines
which fields from the fetch group should be loaded.

It would be more consistent with makeTransient/detach and powerful if it would use the fetch
plan instead Retrieve/Refresh(obj,useFetchPlan)

§ JDO 2 Spec 12.6.7  (makeTransient)
"If the useFetchPlan parameter is true, the current FetchPlan, including MaxFetch-
Depth, DETACH_LOAD_FIELDS, and DETACH_UNLOAD_FIELDS, is applied to the pc or
pcs parameter instance(s) to load fields and instances from the datastore.

Refers to:
§ JDO 2 Spec 12.6.1 (refresh/retried)
§ JDO 2 Spec 12.6.7  (makeTransient)
§ JDO 2 Spec 12.6.8 (detach)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message