-->
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: Heavy duty How-to question (or is it?)
PostPosted: Wed Mar 30, 2005 9:22 am 
Newbie

Joined: Mon Apr 19, 2004 6:48 am
Posts: 3
Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
This might make someone grumpy, but I desperately need pointers on the following:

Hibernate version: 3.0

I need to accomodate many users from many different companies on my web based system.
When users create their own company porfile I will create a database for that specific company from my db template (if one does not exist).

The system need to function totaly dynamic and on its own, so I cannot have the user wait for me to update config files etc.

How do I dynamically create either a pool of connections (limmited to the number of users and growable as more users join) or a re-usable connection per user per company pointing to their database instance only, without having to define those connections in the config files?

I will be creating an LDAP entry for each user (cn) under their company (o) entry and can probably get the DB details from there.

I am creating a java (jsp) based app running on tomcat.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 30, 2005 12:46 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
write your own connectionprovider that does the dirty work.

_________________
Max
Don't forget to rate


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.