On 08 Jun 2004 19:09, alu wrote:
>Does anyone know to make middlegen to read in subset of tables in a
>schema? I only want to map new tables.
>Middlegen tried to read in all tables in my schema. It takes forever
>to finish. As of writing this, it is still running!
It's possible to specify table names, but it's also ugly. See the
Middlegen site documentation on the ant target options.
We run it on a database with 500+ tables, takes 5 minutes to complete
using the full catalogue and passing it through hbm2java. With a
properly defined ant target structure this is only done once and the
output is sent to a jar in a dependency list. Subsequent compiles
ignore it and go straight to compiling application code. |