-->
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: Multiple SessionFactories and Memory
PostPosted: Fri Jan 13, 2006 5:42 pm 
Newbie

Joined: Fri Jan 13, 2006 5:29 pm
Posts: 1
I am new to Hibernate, doing an evaluation for my company. I am using the latest release (3.1) and I generated my mapping files and POJOs using the beta 2 of the tools. My question deals with my company's systems are setup and using Hibernate within this setup. We are an ASP and we have several hundred customers and growing. Each customer has their own database and each database has 300 tables within it that would need to be mapped for use under Hibernate. I quickly run into memory issues when I try to load a SessionFactory/Configuration per customer. I've read in the docs and forums that it is possible to use one SessionFactory/Configuration and pass a JDBC connection to the get a session. Is this the recommded way to handle large numbers of databases with several hundred tables each? Is there a strategy I'm missing that I should be following? Any help would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 2:12 pm 
Newbie

Joined: Fri Oct 12, 2007 6:32 pm
Posts: 3
I'd also like to see some comments on this.


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.