Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AD3982CE for ; Tue, 16 Aug 2011 15:44:46 +0000 (UTC) Received: (qmail 35409 invoked by uid 500); 16 Aug 2011 15:44:46 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 35362 invoked by uid 500); 16 Aug 2011 15:44:45 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 35354 invoked by uid 99); 16 Aug 2011 15:44:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 15:44:45 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of curtisr7@gmail.com designates 209.85.215.170 as permitted sender) Received: from [209.85.215.170] (HELO mail-ey0-f170.google.com) (209.85.215.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 15:44:37 +0000 Received: by eyd10 with SMTP id 10so40195eyd.15 for ; Tue, 16 Aug 2011 08:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X/tPi41Xc9YAQa5a/Ka69jlXUbkWBLJsEeXsEhvqgS8=; b=p6tDrU8vfwhY+QTU/fr8xAi9jJgQ0rJL3fiparBwc85BhKy+unEZbmXwyBicICS6mg ePzSGdpPUO7e9xKAA55DWeqQgcCX3pud2x1SK9KklvApwqZeFi8EH+kjpBavAzkdgzRE rg0RWP1qfbj5mcM5mfRfc6OIXJg1/kXdzbHjU= MIME-Version: 1.0 Received: by 10.213.10.2 with SMTP id n2mr899499ebn.45.1313509457514; Tue, 16 Aug 2011 08:44:17 -0700 (PDT) Received: by 10.213.105.131 with HTTP; Tue, 16 Aug 2011 08:44:17 -0700 (PDT) In-Reply-To: <1313509268206-6691817.post@n2.nabble.com> References: <667336011.25587.1313013927123.JavaMail.tomcat@hel.zones.apache.org> <460947163.41305.1313503890648.JavaMail.tomcat@hel.zones.apache.org> <1313509268206-6691817.post@n2.nabble.com> Date: Tue, 16 Aug 2011 10:44:17 -0500 Message-ID: Subject: Re: [jira] [Commented] (OPENJPA-2039) FKs for EAGER fields that are not in the current fetchplan aren't selected From: Rick Curtis To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=0015174bde6e9fd05004aaa140ab X-Virus-Checked: Checked by ClamAV on apache.org --0015174bde6e9fd05004aaa140ab Content-Type: text/plain; charset=ISO-8859-1 Clear as mud.... ship it! Thanks for the help Pinaki. On Tue, Aug 16, 2011 at 10:41 AM, Pinaki Poddar wrote: > Rick, > Does something like this make sense? > > /** > * Affirms if foreign key for a relation field will be pre-fetched as > part of the owning object irrespective > * of whether the field is included in the default fetch group of this > fetch configuration. > *
> * By default, foreign key for a relation field is pre-fetched as part > of the owning object only > * if the field in included in the default fetch group of this fetch > configuration. > * > * @since 2.2.0 > */ > public boolean getIgnoreDfgForFkSelect(); > > > ----- > Pinaki Poddar > Chair, Apache OpenJPA Project > -- > -- *Rick Curtis* --0015174bde6e9fd05004aaa140ab--