Never mind...

I've changed the mapping for Property and declared it as abstract instead:

<mapping class="cirano.gnp.auctioneer.core.Property" abstract="true"
type-name="property">

And the mapping for the two collections now looks like this:

-----------------------------------------------------------------------------------------------------------
<collection field="properties" type="java.util.HashSet" usage="optional">
  <structure name="properties"
type="cirano.gnp.auctioneer.core.Property" map-as="property"/>
</collection>
<collection field="logProperties" type="java.util.HashSet" usage="optional">
   <structure name="log-properties"
type="cirano.gnp.auctioneer.core.Property" map-as="property"/>
</collection>
-----------------------------------------------------------------------------------------------------------

Now everything works and the binding file is clean :)

Christian

-------------------------------------------------------------------------
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