Hi all
I am using EntityMode.Map for retrieving the objects from database. I am using only XML mapping, no pojo pbjects. If my associations are bi-directional, I am getting stackoverflow error[/color]. I tried running the same program given in test under dynamic folder, where the use has mentioned not to use set, to avoid stackoverflow, but its coming with this too.
eg, If Object 'A' has one-to-many association with object 'B'
and 'B' has one to many association with 'A', then if retrieve the object A as Map, it goes in infinite recursion, how to prevent that, condition of bidirectional access is must!!!
any help will be highly appreciated.
Thanks in advance.
_________________
Gagan Jain
_________________ Gagan Jain
|