-->
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.  [ 4 posts ] 
Author Message
 Post subject: Speed up mapping and buildsessionfactory time
PostPosted: Fri Feb 27, 2004 5:49 am 
Newbie

Joined: Fri Feb 27, 2004 4:00 am
Posts: 1
Hello,

We'are developing a swing based client-server application with 220 mapped classes.
Evrithing works fine with hibernate ! :-)

The problem:

We have mapped already 120 classes, but the mapping and building (sessionfactory) time are around 15-20 seconds, and more in debugging mode, and will be around 30-40 seconds at then end of the project.

Is threre any way to speed up the mapping and buildsessionfactory time?

The serializaton dos not work, becauuse of Configuration isn't implements the Serializable interface, nor You can't completely serialize the SessionFactory object to file.

Thanks,
Aron


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 27, 2004 7:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
We are working on making the configuration serializable, to shorten the startup time. Will be in some upcoming release.


Top
 Profile  
 
 Post subject: Serializable configuration
PostPosted: Tue Apr 05, 2005 6:17 am 
Regular
Regular

Joined: Tue Sep 28, 2004 5:18 pm
Posts: 55
Location: Switzerland
Did this ever happen?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 05, 2005 6:18 am 
Regular
Regular

Joined: Tue Sep 28, 2004 5:18 pm
Posts: 55
Location: Switzerland
ahh. more info here:
http://forum.hibernate.org/viewtopic.ph ... +serialize


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.