I'm having a question about unmarshalling objects. When I marshall an Object that's build as follows:
class foo{
private BothSameType bar1;
private BothSameType bar2;// default-constructor
public get/setBar1{ ...
} public get/setBar2{ ...
}
}and I have the same object coupled in the bar1-attribute as in the bar2-attribute, this gets marshalled as follows:
<foo>
<bar1> .... description of the same object ....
</bar1>
<bar2> .... description of the same object ....
</bar2>
</foo>and when I unmarshall this foo-object I get not the same objects for the two attributes (just two objects who have a different memory-reference, but the same content).
Is it possible (by setting an attribute in the mapping or setting a Castor-property) to get the structure right, and thus get only one bar-object coupled to the two attributes of the foo-object ??
thanx, Koen
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
