Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

db2 java stored procedures

Status
Not open for further replies.

smajor

Programmer
Oct 10, 2001
1
US
I am developing a number of db2 java stored procedures and have found that the biggest performance problem is caused by establishing the initial connection (eg. DriverManager.getConnection("jdbc:default:connection")) each time the stored procedure is run. Does anyone know of a way to create a number of global connections within the database which could be used and left open instead of creating a new one each time the stored procedure is run?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top