Hi Eitan,
There are problems in doing this directly with the current code (though
again, feel free to add an enhancement request to Jira so it doesn't get
overlooked for 2.0), but the extras jar has some custom handlers that
can help. See: http://jibx.sourceforge.net/extras.html#ididref
- Dennis
Eitan Suez wrote:
hello,
i have a followup question regarding marshalling references
using the ident="ref" mechanism.
the example in the tutorial uses a model with flights,
and routes and carriers. all relationships are 1-1.
that is, a flight has a property called carrier and
one can specify that this property be marshalled by
reference:
<mapping name="flight" class="aero.Flight">
<value name="carrier" field="_carrier" ident="ref" />
</mapping>
what about the case where i have a list of carriers in a collection
and would like the collection's items to be marshalled by reference.
how would i specify that in jibx?
thanks,
/ eitan
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users