| Erik Bengtson (JIRA) 2007-03-16, 1:11 pm |
| Retrieve/Refresh(obj,useFetchGroup) uses the fetch group fields. It would b=
e nice if it applied the whole fetch plan contract Retrieve/Refresh(obj,use=
FetchPlan)=20
---------------------------------------------------------------------------=
---------------------------------------------------------------------------=
-----------
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 whe=
n 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 wo=
uld use the fetch plan instead Retrieve/Refresh(obj,useFetchPlan)
=C2=A7 JDO 2 Spec 12.6.7 (makeTransient)
"If the useFetchPlan parameter is true, the current FetchPlan, including Ma=
xFetch-
Depth, DETACH_LOAD_FIELDS, and DETACH_UNLOAD_FIELDS, is applied to the pc o=
r
pcs parameter instance(s) to load fields and instances from the datastore.
Refers to:
=C2=A7 JDO 2 Spec 12.6.1 (refresh/retried)
=C2=A7 JDO 2 Spec 12.6.7 (makeTransient)
=C2=A7 JDO 2 Spec 12.6.8 (detach)
--=20
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|