08-11-06 12:11 AM
[ http://issues.apache.org/jira/browse/JDO-405?page=all ]
Craig Russell updated JDO-405:
------------------------------
Fix Version/s: JDO 2 maintenance release 1
> recursion-depth - fetching the whole graph with 0 or -1?
> --------------------------------------------------------
>
> Key: JDO-405
> URL: http://issues.apache.org/jira/browse/JDO-405
> Project: JDO
> Issue Type: Bug
> Affects Versions: JDO 2 final
> Reporter: Ilan Kirsh
> Fix For: JDO 2 maintenance release 1
>
>
> In page 124: "A value of -1 means that the recursion-depth is not limited
by traversing this field."
> In page 127: "A recursion-depth of 0 will fetch the whole graph of instanc
es reachable from this field"
> Is there a difference between these two?
> In addition, I think that -1 / 0 as a default might be better than 1 it terms of p
erformance, because tracking such cycles has some overhead, which we might not want
to pay for most fields in which this feature is not needed (and MaxFetchDepth is suf
fic
ient).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://iss
ues.apache.org/ji...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|