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.