-->
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.  [ 1 post ] 
Author Message
 Post subject: Incrementally/lazily build up the session factory
PostPosted: Wed Jun 13, 2007 10:11 am 
Newbie

Joined: Tue Sep 27, 2005 8:12 am
Posts: 12
Hi,

I am just wondering, if there is way to incrementally build up the session factory. As I see from http://opensource.atlassian.com/project ... wse/HB-492 that serializing session factory is not an option and not worth.
We have large hibernate file i.e. number of mapping files/packages and initialization takes a while, though we are using cacheable feature which has reduced time significantly. But still high and will increase as number of packages/models will increase in future. As we use embedded database, every time user starts the application we have to build up the session factory and which takes most of the time in application start-up.
As models/tables refer to each other so I don't think that creating number of session factories is an option for us.

So just wondering, if there is a way to achieve this? or such a feature is possible, may be down the line?

I did find some thing about on-demand loading but not sure if that will fit for this scenario and also not sure how to use it http://opensource.atlassian.com/project ... e/HHH-1258

Any suggestions in this regard will be welcomed.
Thanks.


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

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.