Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 12533 invoked from network); 25 Sep 2006 18:46:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 18:46:29 -0000 Received: (qmail 81702 invoked by uid 500); 25 Sep 2006 18:46:28 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 81676 invoked by uid 500); 25 Sep 2006 18:46:28 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 81659 invoked by uid 99); 25 Sep 2006 18:46:28 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 11:46:28 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:42002] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id ED/FE-13750-7E328154 for ; Mon, 25 Sep 2006 11:46:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 962C37142A1 for ; Mon, 25 Sep 2006 18:41:50 +0000 (GMT) Message-ID: <63939.1159209710597.JavaMail.jira@brutus> Date: Mon, 25 Sep 2006 11:41:50 -0700 (PDT) From: "Abe White (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Commented: (OPENJPA-59) Eager fetching not occuring for ToOne relationships during detachment In-Reply-To: <10093009.1159190630053.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/OPENJPA-59?page=comments#action_12437637 ] Abe White commented on OPENJPA-59: ---------------------------------- The behavior of the test case is technically correct, because the default global MaxFetchDepth is 1. If I modify the test case to set a MaxFetchDepth of 2 in setUp, it passes. I agree that this is not necessarily user-friendly, though. So the question is: what should our default max fetch depth be? Unlimited? 2, so that at least both sides of bi-di relations are handled? Some other arbitrary number that we think is reasonable? > Eager fetching not occuring for ToOne relationships during detachment > --------------------------------------------------------------------- > > Key: OPENJPA-59 > URL: http://issues.apache.org/jira/browse/OPENJPA-59 > Project: OpenJPA > Issue Type: Bug > Components: kernel > Environment: Any > Reporter: David Ezzio > Priority: Critical > Attachments: detachmentTestOpenJPA.zip > > > If there is a bidirectional onetomany relationship between parent and child maintained with a foreign key, during detachment, the parent and children are correctly detached, but the back reference in child to the parent is not populated. -- 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