Thread: Proper database connection
09-22-06, 05:11 #1Registered User
- Join Date
- Sep 2006
Unanswered: Proper database connection
What is better? 1)opening a connection on system startup and closing the connection when the application is closed or 2) creating a connection for each select/update statement and closing after execution of the sql command? Our application is a Java swing application connected to DB2 8.2 on unix.