Hi,

Thanks Dimitry. I have follow instruction provided by Mocky and have the mapping as follow: <collection name="personal-items" field="personalItems" type="java.util.HashSet" item-type="item" />

Cheers,
Vairoj
Vairoj,

You can use <structure> elment to give it a name you want..

 <structure name="personal-items">
   <collection field="personalItems" type="java.util.HashSet"
item-type="Item"       </structure>

The you'll get:

<person>
        <personal-items>
                <item>Scissor</item>
                <item>Screwdiver</item>
        </personal-item>
<person>





-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to