Hi Frank,

thanks for your suggestion.  It encouraged me to get it finally to work with
this mapping:

    <mapping name="aContainee"
             class="AContainee" ordered="false">
        <value name="id" field="id" usage="optional"/>
        <value name="aContainer" field="aContainer" usage="optional"/>
    </mapping>

    <mapping abstract="true"
             type-name="tns:AContainer"
             class="AContainer" ordered="false">
        <value name="name" field="name" usage="optional"/>
        <collection name="aContainees" field="aContainees" 
item-type="AContainee"/>
    </mapping>
   
The key seems to be to use "name" instead of "type-name" in the Containee
mapping. I do not yet fully understand the difference, but I'll figure 
it out
:-)

Regards,
-Max

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to