Why dont you just set the pool up normally, then use the
datasource.getConnection(String user, String Password) to connect as a named
user?

It's probably not the most efficient mechanism, but it should work. Assuming
your drivers support the mechanism.

Al


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Nicolai P
Guba
Sent: Thursday, June 07, 2001 12:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] DB pool without specified username/password.


>>>>> "HP" == Heikki Paajanen <[EMAIL PROTECTED]> writes:

HP> Hi Is it possible to create DB pool without giving username and
HP> password beforehand ?  So you can use DataSource connecting run
HP> time with some username and password...

HP> Or is there a way to do it without pool or direct jdbc code ?

I've never managed to get a mySQL connection pool going without having
to provide at least a password.  I am not sure wether this is a bug or
a feature.

Maybe a different connection pool would provide such feature?
--
  Nicolai P Guba    http://www.gnu.org         http://www.frontwire.com
                    mailgo:[EMAIL PROTECTED]     mailto:[EMAIL PROTECTED]
                    GSM: +44 (0)7909 960 751   DDI: +44 (0)20 7368 9708

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to