Return-Path: Delivered-To: apmail-ibatis-dev-archive@www.apache.org Received: (qmail 94918 invoked from network); 13 May 2009 10:07:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 May 2009 10:07:25 -0000 Received: (qmail 30861 invoked by uid 500); 13 May 2009 10:07:24 -0000 Delivered-To: apmail-ibatis-dev-archive@ibatis.apache.org Received: (qmail 30832 invoked by uid 500); 13 May 2009 10:07:24 -0000 Mailing-List: contact dev-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ibatis.apache.org Delivered-To: mailing list dev@ibatis.apache.org Received: (qmail 30824 invoked by uid 99); 13 May 2009 10:07:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 10:07:24 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 10:07:14 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1M4BMT-0008Pg-DH for dev@ibatis.apache.org; Wed, 13 May 2009 03:06:53 -0700 Message-ID: <23518954.post@talk.nabble.com> Date: Wed, 13 May 2009 03:06:53 -0700 (PDT) From: RO86 To: dev@ibatis.apache.org Subject: Re: [jira] Created: (IBATIS-427) Bidirectional associations support In-Reply-To: <24681779.1178878275574.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: radwa_osama@yahoo.com References: <24681779.1178878275574.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org After 2 years of this post, I have the same problem and I can=E2=80=99t fin= d a solution. Please, if anyone knows anything about this problem reply. You ma= y help a developer facing the same problem on 2020 JIRA ibatis-dev@incubator.apache.org wrote: >=20 > Bidirectional associations support > ---------------------------------- >=20 > Key: IBATIS-427 > URL: https://issues.apache.org/jira/browse/IBATIS-427 > Project: iBatis for Java > Issue Type: New Feature > Components: SQL Maps > Affects Versions: 2.3.0 > Reporter: Andrew Bethell >=20 >=20 > (Added this issue as a new feature, as I cannot find any documentation or > instructions on how to implement this with iBATIS.) >=20 > I have the same requirements described here : > http://www.mail-archive.com/user-java@ibatis.apache.org/msg00962.html - i= n > a nutshell I have an 'Order' object which contains a List of 'OrderItem' > objects (lazy loaded), but I want the OrderItems to contain references > back to the parent 'Order' object (also using a lazy-load property). =20 >=20 > At the moment iBATIS runs into an infinite loop when I try this > (StackOverflowError), and from reading the email thread I mentioned above > - it seems like this functionality is not implemented. However, this > discussion thread here - > http://www.theserverside.com/news/thread.tss?thread_id=3D34028#171643 - h= as > a comment from one of the iBATIS developers claiming that circular > references are supported -=20 >=20 > "Resolves circular references - iBATIS solves circular references the sam= e > way O/R broker does...with a cache. But yes, you do have to configure the > cache in iBATIS for this to work." >=20 > I had a quick go at configuring caching with ibatis, but it didnt seem to > change anything. Can anyone shed any light on this issue?=20 >=20 > Thanks. >=20 > --=20 > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/-jira--Created%3A-%28IB= ATIS-427%29-Bidirectional-associations-support-tp10429236p23518954.html Sent from the iBATIS - Dev mailing list archive at Nabble.com.