As for us, i first used torque to create statically the sql files
for the different databases that the application supports.

I'm planning to use commons-sql (jakarta sandbox) which has the great 
functionnality of altering the database schema to keep it in sync 
with the wanted one. Commons-sql uses an xml that is the same as 
torque so migration is somewhat easy.  Note that i did not tested
it thoroughly.

To generate the needed things, i use a metamodel in an xml form
and with the help of xslt files, i generate the java classes, 
the repository and the database xml file used by torque.

Guillaume

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] la part de Paolo Salvan
> Envoye : jeudi 3 juin 2004 16:46
> A : [EMAIL PROTECTED]
> Objet : OJB, MySql.... how do I create the data structures?
> 
> 
> Hi!
> 
> Ok, third mail...
> 
> I've heard that reverse-db can be the wroing road....
> 
> What do you suggest to create the various java, xml and sql db?
> 
> Is it more confortable using torque, druid or what? Starting from 
> the .java 
> class, some xml file or the sql DB? And how to generate all the 
> remaining files?
> 
> Thanks and bye!
> 
> Paolo
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to