-->
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: 1000 sessionfactory instances - possible?
PostPosted: Tue Aug 08, 2006 10:15 am 
Newbie

Joined: Tue Oct 18, 2005 10:26 am
Posts: 1
Hi all,


I have a system with over 1000 database instances - each instance with the same database schema. If I understand correctly, I need a sessionfactory object for each separate database. Is it possible to have 1000 sessionfactory objects loaded simultanously? 2000? 3000?

Hardware limitations are quite high, that should not be a problem.


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 08, 2006 11:28 am 
Newbie

Joined: Fri Jun 09, 2006 8:03 am
Posts: 12
You do not want to load 2,000 session factory objects. The time it takes to load one is large.

If I remember right you can change the mapping files to read the different schema, so you only need one config file and one factory.


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.