Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 76577 invoked from network); 10 Aug 2006 23:17:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Aug 2006 23:17:15 -0000 Received: (qmail 42807 invoked by uid 500); 10 Aug 2006 23:17:15 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 42796 invoked by uid 99); 10 Aug 2006 23:17:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 16:17:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Aug 2006 16:17:12 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6ED697142C7 for ; Thu, 10 Aug 2006 23:14:15 +0000 (GMT) Message-ID: <17981359.1155251655451.JavaMail.jira@brutus> Date: Thu, 10 Aug 2006 16:14:15 -0700 (PDT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Updated: (JDO-405) recursion-depth - fetching the whole graph with 0 or -1? In-Reply-To: <18361633.1155112993825.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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 instances 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 performance, 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 sufficient). -- 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