Hi

I have a problem marshalling an object. Input is a 
org.hibernate.collection.PersistentSet and output has to be a HashSet.
But when the data are processed, I always get the following error:

java.lang.ClassCastException: org.hibernate.collection.PersistentSet
at model.Document.JiBX_config_mappings_jibx_binding_marshal_3_5(Document.java)
at model.JiBX_config_mappings_jibx_bindingDocument_access.marshal()
at model.Document.marshal(Document.java)

Here is the JIBX binding:


field="documentTaxAmounts"
name="document-tax-amounts"
type="java.util.HashSet"
usage="optional"
/>

How can this problem be helped? I tried various propositions from your 
documentation, but in vain.

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to