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: Extending C3P0ConnectionProvider to Multi-Tenant approach
PostPosted: Wed Jul 28, 2010 8:02 am 
Newbie

Joined: Sat Mar 06, 2010 1:19 pm
Posts: 8
Hi,

I'm facing a problem similar of the topic below:
viewtopic.php?p=2376731

-------------------

I need an efficient alternative for Separeted Databases isolation level, because I'm using multiple Session Factories and it's too heavy in the memory. (the databases have the same structure)

In the topic he say to implement the ConnectionProvider to get the right connection.

And If I'm using a C3P0ConnectionProvider what do I need to make different?


Top
 Profile  
 
 Post subject: Re: Extending C3P0ConnectionProvider to Multi-Tenant approach
PostPosted: Thu Jul 29, 2010 1:19 pm 
Newbie

Joined: Sat Mar 06, 2010 1:19 pm
Posts: 8
I need:
One SessionFactory to many databases.
Does anybody know a reference to go ahead?


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.