I'm using XStream to convert my Hibernate entities to XML. All the entities were properly converted to XML until I changed the attributes to LAZY fetching. I see problems in aliasing.
I see some javassit
code. However, this is happening to only one node. As you
can see, for the "id2" it has aliased properly.
<foo>
<domain id="domainId" name="domainName" default="true">
<com.mycomp.entity.Application___-_-__javassist__5 resolves-to="application"
id="id1" name="name1">
...
</com.mycomp.entity.Application___-_-__javassist__5>
<application id="id2" name="name2">
...
</application>
</domain>
</foo>
thnak you :)