Thanks, this helps me a lot. I still have one follow-up question: I see that the MappingTool can only process one file at once. However, if I give it the class file that has been generated for my top-level node as input, the mappings for all nodes in the hierarchy are created. Is this intended or a side effect?
Regards, Stefan --- Werner Guttmann <[EMAIL PROTECTED]> schrieb: > Not to my knowledge, at least not through teh > source-generator. You > could use the MappingTool as found within Castor, > though, to have a > mapping file generated from the generated Java > classes, and use this as > a staring point. > > I hope this helps > Werner > > > -----Original Message----- > > From: Stefan Lober [mailto:[EMAIL PROTECTED] > > Sent: Mittwoch, 09. November 2005 15:12 > > To: [email protected] > > Subject: [castor-user] [JDO] Creating O/R-mapping > with the > > SourceGenerator > > > > Hello, > > currently, I am using Castor to generate my > sources from an > > XML Schema. This is done by > org.exolab.builder.SourceGenerator. > > As I am planning to persist the objects > corresponding to the > > generated classes, I would like to know if it is > possible to > > have the Database mapping generated along with the > classes. > > > > > > > > > > > > > > > ___________________________________________________________ > > Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher > kostenlos - > > Hier anmelden: http://mail.yahoo.de > > > > ------------------------------------------------- > > If you wish to unsubscribe from this list, please > send an > > empty message to the following address: > > > > [EMAIL PROTECTED] > > ------------------------------------------------- > > > > > > > > ------------------------------------------------- > If you wish to unsubscribe from this list, please > send an empty message to the following address: > > [EMAIL PROTECTED] > ------------------------------------------------- > > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

