DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   Connection Pools (http://www.daniweb.com/forums/thread149491.html)

Thirusha Oct 6th, 2008 9:47 am
Connection Pools
 
Is there a way of changing the username and password used to connect to the db in a connection pool, or do i have to create a new connection pool with the new username and password.

I do not want to hard code the connection string thats why i want to do it with a connection pool, as teh connection pool names will not be changing, but the connection string will change when the app gets installed on different machines.

dickersonka Oct 6th, 2008 9:50 am
Re: Connection Pools
 
Read the connection string from a config file, then load the connection string at runtime


All times are GMT -4. The time now is 3:01 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC