Hi folks, Just a quick one, does anyone have any tips about marshalling/unmarshalling immutable objects? I'm not using a mapping file (at the moment) and discovered when one of my classes is unmarshalled (it marshals ok), it uses the getter to get a collection then adds to it and so "re-loads" the object from the XML. However, my immutable object guards against such modification (its immutable) and so it returns a copy of the collection (so any adds to it wont really count).
I understood from the docs that if no getter is provided it'll try and use the field/direct access, is that right? Otherwise, I guess my options are to use a mapping file and control things better? I kinda like the default behaviour though ;) Cheers -- Toby

