Hi
I have three classes A, B and C. There is a one to many relationship between A and B. Thus A contains collection of B and B contains reference to A. Similarly there is a one-to-many relationship between B and C. So B contains collection of C and C contaions reference of B.
I am using Castor XML Databinding framework. The problem that i am facing is that when i generate the XML file from the java objects (A,B and C) using castor-xml, the xml file contains only the data of object A and B. The data of object C does not appear in the XMl file.
I can't figure out what is the problem. Can someone help me.
I hav attached the actual code along with the mapping file, and sample test program (to generate the xml).
Regards,
Trupti
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
code.zip
Description: code.zip
