Apache JDO Project - [jira] Created: (JDO-473) Retrieve/Refresh(obj,useFetchGroup) uses

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > March 2007 > [jira] Created: (JDO-473) Retrieve/Refresh(obj,useFetchGroup) uses





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 [jira] Created: (JDO-473) Retrieve/Refresh(obj,useFetchGroup) uses
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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com