using XMLBeans 2.4

ran into a problem with XmlBeans in not being about to produce either
Collection or List (java.util) properties for unbounded elements.  there is
the -javasource 1.5 option but that only generates a getter.  thought about
fiddling around with the source to pump out a setter but assuming the
underlying data object is still an object array (since the -javasource
option creates both a List getter and object array getter).

both Castor and JAXB spit out Lists.  why does XmlBeans hold on to the
object Array representation?  reason it becomes a pain is when mapping sets
(associations) in Hibernate to XmlBean interfaces.

is using Collections/List even a to-do for the XmlBeans development? 
Collections provides interoperability between unrelated APIs (in my case
Hibernate and XmlBeans).
-- 
View this message in context: 
http://www.nabble.com/unbounded-elements-generate-object-array-get-set-methods-tp25167233p25167233.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to