RE: [DbUtils] logging sql statement

2004-04-23 Thread David Graham
t; From: David Graham [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 23, 2004 5:19 PM > > To: Jakarta Commons Developers List > > Subject: Re: [DbUtils] logging sql statement > > > > Logging is intentionally left out of DbUtils so that it remains a > simp

RE: [DbUtils] logging sql statement

2004-04-23 Thread Alex Karasulu
rs? Alex > -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Friday, April 23, 2004 5:19 PM > To: Jakarta Commons Developers List > Subject: Re: [DbUtils] logging sql statement > > Logging is intentionally left out of DbUtils so that it remains

Re: [DbUtils] logging sql statement

2004-04-23 Thread David Graham
Logging is intentionally left out of DbUtils so that it remains a simple one jar distro. It would be easy to subclass QueryRunner and override the methods you were interested in, logging, and then delegating to the super implementation to do the real work. DbUtils does wrap all SQLExceptions th