You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by RO86 <ra...@yahoo.com> on 2009/05/13 12:06:53 UTC
Re: [jira] Created: (IBATIS-427) Bidirectional associations support
After 2 years of this post, I have the same problem and I can’t find a
solution. Please, if anyone knows anything about this problem reply. You may
help a developer facing the same problem on 2020
JIRA ibatis-dev@incubator.apache.org wrote:
>
> Bidirectional associations support
> ----------------------------------
>
> 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
>
>
> (Added this issue as a new feature, as I cannot find any documentation or
> instructions on how to implement this with iBATIS.)
>
> I have the same requirements described here :
> http://www.mail-archive.com/user-java@ibatis.apache.org/msg00962.html - in
> 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).
>
> 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=34028#171643 - has
> a comment from one of the iBATIS developers claiming that circular
> references are supported -
>
> "Resolves circular references - iBATIS solves circular references the same
> way O/R broker does...with a cache. But yes, you do have to configure the
> cache in iBATIS for this to work."
>
> 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?
>
> Thanks.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
>
--
View this message in context: http://www.nabble.com/-jira--Created%3A-%28IBATIS-427%29-Bidirectional-associations-support-tp10429236p23518954.html
Sent from the iBATIS - Dev mailing list archive at Nabble.com.