commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Krivoshein <i...@mikkri.com>
Subject Re: [DBUtils] Proposal - logging
Date Tue, 01 Jun 2004 10:51:19 GMT
Hello Petr,

Why you can't use close() instead closeQuietly()?
QueryRunner uses the close() methods also.

And as I know dependancy on Commons-logging is avoided intentionaly.

Best regards,
Mikhail Krivoshein

Petr Hollay wrote:

>Hello all,
>
> 
>
>one question to DbUtils class: methods closeQuietly() don't throw
>SQLExceptions.
>
> 
>
>Would you consider to add dependency on Commons-Logging and add log.error()
>(or maybe warn() ) logging into catch parts of those methods?
>
> 
>
>Idea behind is that in production environment it might be useful to be
>informed that something went wrong when closing JDBC
>Connection/Statement/ResultSet.
>
> 
>
>I didn't find any discussion on this topic in mail archive.
>
> 
>
>Best regards
>
>Petr
>
> 
>
>
>  
>



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


Mime
View raw message