Re: generate omn classes only for a subset of tables

Alvaro Coronel <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.torque.user
Message-ID <[email protected]>
I once did that creating a new schema XML file and including in it only the tables I wanted to import. In fact I had Torque create it automatically, and then deleted the ones I didn't want.

Hope it helps,
Álvaro.




________________________________
From: Ivano Luberti <[email protected]>
To: Apache Torque Users List <[email protected]>
Sent: Tuesday, January 27, 2009 10:21:45 AM
Subject: generate omn classes only for a subset of tables

Is there a way to configure Torque generator so that it generates om
classes only for a subset of the tables in a db ?
I will use the ability of torque tu support multiple database to import
some data from a secondary db, but I need to use only a small subset of
tables (5 out of 40+)  of the whole db.
I will get metadata from a MySQL db and the filter should be set either
for the jdbc task or for the om task.






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.