You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Hut Carspecken <hu...@privacyinc.com> on 2003/08/26 22:58:00 UTC

The JDBCUtil Object

Hello,
 
This question is more directed to Noel than anyone else.  There is a
class called JDBCUtil that is used in several mailets.  I don't really
want to use it, but I am using the James (2.2.0a8) version of connection
pooling.  Is there any reason why I can't simple use the JDBC statements
to close my ResultSet, Statement, and Connection objects?
 
Hutson

RE: The JDBCUtil Object

Posted by "Noel J. Bergman" <no...@devtech.com>.
> There is a class called JDBCUtil that is used in several mailets.  I
> don't really want to use it

> Is there any reason why I can't simple use the JDBC statements
> to close my ResultSet, Statement, and Connection objects?

Just make sure you handle all of the exceptions.  All that the utility code
does is handle exceptions and do the best possible job of closing things.

	--- Noel


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