commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Krivoshein <>
Subject Re: [DbUtils] DbUtils.close methods
Date Wed, 02 Jun 2004 13:28:11 GMT
>DbUtils is meant to handle the most common JDBC use cases.  I've never
>seen an SQLException thrown from a close operation unless there was a
>previous error with the connection, statement, or result set.
Me too.

>Instead of developing our own exception class hierarchy maybe we should
>provide protected close() methods in QueryRunner.  The default
>implementation would call DbUtils.close() but you could override it to
>perform special handling.
Well, I like this decision too because it allows to be flexible enough. 
So you decide.

Best regards,
Mikhail Krivoshein

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message