Hi Sean,

I guess I'd need a test case (attached to a Jira issue) so that I can replay this problem. Right now, I am not in a position to tell you whether you have hit a (valid) bug or not.

But I'd be interested to learn whether using a mapping file would make a difference in your case.

Cheers
Werner Guttmann

On 22.12.2010 02:02, umphy wrote:

Hi, I have a custom object with generics Triplet<t1, t2, t3>. Inside I have
fields obj1, obj2 and obj3 with the usual getters and setters.

When I nest this pair object within a collection, say LinkedHashMap, it does
not marshal correctly, giving me an empty LinkedHashMap element in the xml.

Note: I'm not using an xml mapping file, just simply throwing the obj into
Marshaller.marshal().

Is there anything that I need to have in order for it to work without a
mapping file?

Thanks and regards,
Sean

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to