tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "D'Alessandro, Arthur" <Arthur.Dalessan...@cbetech.com>
Subject RE: Connection Pooling
Date Wed, 07 Jan 2004 16:53:00 GMT
I believe when you close the connection, which should be added in a
finally block eg.

	   } finally {
			try { 
				oConn.close();
			} catch (Exception ex) {
				// Can't recovery gracefully, do nothing
			}
	   } 


-Art 

-----Original Message-----
From: Hart, Justin [mailto:JHart@sfa.com] 
Sent: Wednesday, January 07, 2004 11:51 AM
To: tomcat-user@jakarta.apache.org
Subject: Connection Pooling

Is there some manner in which a database connection should be returned
to the connection pool, or is that automatic?

 

Justin


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message