Connection Pools

Reply

Join Date: Mar 2008
Posts: 315
Reputation: Thirusha is an unknown quantity at this point 
Solved Threads: 50
Thirusha's Avatar
Thirusha Thirusha is offline Offline
Posting Whiz

Connection Pools

 
0
  #1
Oct 6th, 2008
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,160
Reputation: dickersonka will become famous soon enough dickersonka will become famous soon enough 
Solved Threads: 137
dickersonka dickersonka is offline Offline
Veteran Poster

Re: Connection Pools

 
0
  #2
Oct 6th, 2008
Read the connection string from a config file, then load the connection string at runtime
Custom Application & Software Development
www.houseshark.net
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC