Hi Giuseppe, as an XSD do not contain the information to which tables and columns the properties of your classes should be mapped, I don't think this is possible. I would suggest you to work with a mapping faile that contains the mapping for both parts (XML and JDO). The problem with this will be that you can not use SourceGen to generate your classes.
Ralf Giuseppe Sarno schrieb: > Thanks for your reply, > > Do you know of any tool or package that can do this automatically? > > > > Giuseppe. > > > > -----Original Message----- > *From:* Werner Guttmann [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, August 30, 2005 4:17 PM > *To:* [email protected] > *Subject:* AW: [castor-user] Castor XML and JDO from XML schema in one go. > > > > Giuseppe, > > > > for the persistence part of your storry, you'll have to provide a > mapping file to Castor JDO. Castor JDO cannot do without one. > > > > Werner > > -----Ursprüngliche Nachricht----- > *Von:* Giuseppe Sarno [mailto:[EMAIL PROTECTED] > *Gesendet:* Dienstag, 30. August 2005 16:56 > *An:* [email protected] > *Betreff:* [castor-user] Castor XML and JDO from XML schema in one go. > > Hi, > I was looking for a solution which would allow me to > handle XML documents convert them in Java Object (standard like > JAXB) so that I can programmatically manipulate the data and then > > store the data on a DB. > > I would like only to have to build the XML schema and not to worry > about the XML mapping and SQL mapping. > > Is this possible ? > > Giuseppe. > ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

