Thread:
 Filter on which tables to map 
 alu   08 Jun 2004, 19:09 
 Re: Filter on which tables to map 
 decairn   10 Jun 2004, 20:16 
 Re: Filter on which tables to map 
 PG   11 May 2005, 07:21 

Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
From: PG (11 May 2005, 07:21) Replies: 0, Views: 40334
Subject: Re: Filter on which tables to map
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
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]