db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bogdan Vatkov" <bvat...@globaltech-bg.com>
Subject Re: torque-gen multiple db ?
Date Fri, 19 Mar 2004 14:09:57 GMT
For example: i will often want to generate not all the schemas. (and here
the ant script goes a little bit more complicated)
and very important for me is to have SQL statements generated in separate
output file per each schema
and of course this could be done by modifing the templates.. but it will be
too hard to
tell write down a simple modification that will do that ..
at least you have to iterate all the tables from the database and to check
whether they belong to a particular schema
and therefore to generate a corresponding SQL into a separate shecma
dedicated file

in fact it is good to have separate XML files (not chunks but complete xml
file)
as long as different people might be responsible for modelling particular
schema

Bogdan

----- Original Message -----
From: "Dave Newton" <dave@solaraccess.com>
To: "Apache Torque Users List" <torque-user@db.apache.org>
Sent: Friday, March 19, 2004 3:49 PM
Subject: Re: torque-gen multiple db ?


> On Fri, 2004-03-19 at 03:58, Bogdan Vatkov wrote:
> > Of course i have made some corrections in the torque runtime &
> > torque-generator to successfully support the . (dot)
> > inside tables names. but now i want to separate the definition of each
> > schema and place it in a separate file (xml file)
>
> Since it's all running under ant anyway, why not just concatenate the
> multiple-xml files into one xml file and then run the torque generation
> process normally?
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message