If I have a hibernate mapping where a class has a ManyToOne bidirectional
relationship, how do I avoid an Infinite recursion?
Secondly is there an annotation so that I can marshall/unmarshall either
object to include the parent child relationship only once?
So if I have
class A {
List<B> children
}
class B {
A parent
}
Is it possible to un/marshal B and have give me A, which has it's children
set, or un/marshal A and have B's parent set?
Thanks
Kal