-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Configuration file loading time in 3.0 alpha
PostPosted: Thu Sep 09, 2004 4:17 pm 
Newbie

Joined: Fri Aug 20, 2004 9:25 am
Posts: 9
Hibernate version:3.0 alpha

I have a database with 130 tables and I have mapped the tables via 130 distinct hdb.xml files. In V2.16 the configuration file was taking about 15 sec to load, but in 3.0 alpha it is now taking over 4 minutes. Is there anyway I can improve the loading time?

Thanks,

John.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 09, 2004 4:31 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
A common mistake would be to use the old DTD (which is still mostly valid for the alpha) in your XML mapping files. If you have hibernate3.jar in your classpath and the old DTD declaration in your mapping files you'll get network lookups for DTD validation.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.