On 10 Jun 2004 20:16, decairn wrote:
>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.
Hi decairn,
You wrote that it takes only 5 minutes to complete on a database with
500+ tables.
In my setup, it took 224 minutes to generate the xml and java files
for ONE table (with 40 columns).
What is your secret ?
What is critical in the setup to get your kind op performance ?
Thanks,
PG |