Hello,
I have some parent/child associations (one-to-one and many-to-one) between
my beans. To avoid cyclic references, i'm annotating these beans with @XmlID
and @XmlIDREF. Sometimes the bean is marshalled as follows:
<child>
<id>2</id>
<parent>1</parent>
</child>
But other times my output is:
<child>
<id>2</id>
<parent><id>1</id></parent>
</child>
Do you know why this is happening?
Thanks,
Ivan
