commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [DbUtils] DbUtils.close methods
Date Wed, 02 Jun 2004 13:55:37 GMT

--- Mikhail Krivoshein <info@mikkri.com> wrote:
> >
> >
> >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.

Please open an enhancement ticket and attach patches to it for the
protected close() methods.  I'm swamped right now so I don't have much
time for much more than applying patches.

Thanks,
David


> 
> Best regards,
> Mikhail Krivoshein



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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