db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Vandahl ...@apache.org>
Subject Re: generate schema with maven2 plugin
Date Thu, 18 Jun 2009 18:19:52 GMT
C├ędric Durmont wrote:
> Is the plugin really supposed to create the *schema.xml file with the
> "om" goal ? If so, what might be going wrong in my case ?

No it isn't. The om-goal is supposed to create Java files from your
existing schema files.

> If not, how do I tell torque to generate the *schema.xml ? I have to
> write a small app using an existing database containing 100+ tables. I
> chose torque as ORM for this project mainly because the maven plugin
> "can also generate the XML description of an existing database"
> (quoting torque homepage).

This is what the "torque:jdbc" goal used to do in the *maven-1* plugin.
It looks like this feature is not available in the maven-2 plugin.

Bye, Thomas.

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

View raw message