Title: Abnormal size of saved xml file

Hello,
I am using Marshaller.marshall(this, out)
I have a problem when I marshal my java objects to xml file. I have a circular reference within my objects, which Castor claims 'can be taken care of'

The size of the xml file is huge and I had to break it using a file split program to read a bit of how the mapping is done. I see that the point of the circular reference in the object, has a nested mapping in the xml file making the size go bonkers.

It would be great if anyone can suggest an approach to achieve persistence in my case.

Thanks

Reply via email to