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.