I have one collection into which I want to put two sets of records. Can I do something like shown below and not loose unmarshalling for dep-info and itemInfo in to the same collection. I am specifying same collection by using the same collection field (<collection field="itemInfo" ). I assign records to a collection and then again assigning records to the same collection. Is this valid binding ? Note: itemInfo is a concrete implementation collection.
<structure name="dept-info" > <collection field="itemInfo" item-type="second.epayment.entity.TransactionItemInfo" > <structure name="dept-identifier" type="second.epayment.entity.TransactionItemInfo"> <value name="description" field="description" /> <value name="value" field="value" set-method="setPkTrue"/> </structure> </collection> <collection field="itemInfo" item-type="second.epayment.entity.TransactionItemInfo" > <structure name="additional-info" type="second.epayment.entity.TransactionItemInfo"> <value name="description" field="description" /> <value name="value" field="value" set-method="setPkFalse" /> </structure> </collection> </structure> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users