[
https://issues.apache.org/jira/browse/IBATIS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12711394#action_12711394
]
Hossam Karim commented on IBATIS-427:
-------------------------------------
It's been 2 years , come on
> 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/[email protected]/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.