I am wanting to serialize a hibernate POJO using xstream. There are certain unrelated fields that get serialized.
For example -
<createdBy class="com..domain.Users " reference="../../values/createdBy"/>
How do I avoid that ? Is there any tool that generates Xstream Annotations for POJO ?
Is there a way to avoid a certain field from all classes when using xstream ?