-
Jan 1st, 2009, 01:10 AM
#1
StackOverflow Exception while using bidirectional mapping
I am using hibernate with spring
While i try using a bidirectional mapping.
I get an indefinite loop between the parent and child object causing Stack Overflow
Hibernate version is 3.2.5
Spring 2.5
Is this an issue with hibernate ?
If anyone has comeaccross such
an instance please help me to resolve the issue
-
Jan 5th, 2009, 12:15 PM
#2
Hi,
When you have a bidirectional relation, at least one side must be lazy, otherwise both sides will try to load each other in an infinite recursion.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules