Stephen, there are 2 things that need to be done:
1. create a tool that walks through the jdo-config and mapping files and create table scripts for the configured database. scrpits differ between different databases (e.g. mysql is different then oracle). 2. add some additional informations to mapping about the coulmn type and maybe database constraints. It's simple but will require quite some time to implement. I think with the planned refactoring of SQL generation we should also take care to include this featur. Regards Ralf Stephen Bash schrieb: > Ralf- > > Is the wall here the creation of the tables? I don't know a lot about > Castor JDO, but it already uses the mapping files to define how Java > fields correspond to database tables right? I'm probably just not > understanding the question, but I'm curious. > > Thanks, > Stephen > > > Ralf Joachim wrote: > >> Hi Mike, >> >> I also miss this feature. The only reason that comes to my mind why this >> is not possible yet is, that nowone have found the time to contribute >> this to the castor project. We realy wouldn't mind if you like to pick >> this up and contribute ;-) >> >> Having said that there may also be many others that miss this feature. >> >> Regards >> Ralf >> Castor JDO, committer >> >> >> Mike Wannamaker schrieb: >> >>> Hi, >>> >>> I was just wondering if there is and if not why? >>> >>> I would like to be able to create an XML Mapping file describing how the >>> fields map to database tables and then I would like castor to use the >>> underlying database that I've configured it to use and create all the >>> tables >>> as described in the mapping file? >>> >>> --ekiM >>> Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer >>> in waht >>> oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the >>> frist >>> and lsat ltteer is at the rghit pclae. The rset can be a toatl mses >>> and you >>> can sitll raed it wouthit porbelm. Tihs is bcuseae we do not raed ervey >>> lteter by it slef but the wrod as a wlohe. >>> >>> ------------------------------------------------- >>> 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] > ------------------------------------------------- > -- Syscon Ingenieurbüro für Meß- und Datentechnik GmbH Ralf Joachim Raiffeisenstraße 11 D-72127 Kusterdingen Germany Tel. +49 7071 3690 52 Mobil: +49 173 9630135 Fax +49 7071 3690 98 Email: [EMAIL PROTECTED] Web: www.syscon-world.de ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------

