Antwort: generate omn classes only for a subset of tables
Thomas Fischer <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.torque.user |
|---|---|
| Message-ID | <OF03CD9927.108CCB74-ONC125754B.0045218D-C125754B.0045409A@seitenbau.net> |
> 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.
No way that I know of. Probably you need to extend the relevant ant task
to do this.
Thomas