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

[DbUtils] logging sql statement

2004-04-23 Thread Mishkin, Ernest
Hello, I believe it's a nice feature when a JDBC-wrapping framework like DbUtils can automatically log sql statements before execution (with configurable priority of course). I implemented that as part of my "own" little wrapper class and founded that to be indispensable when during debugging sess