ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: callback hooks
Date Mon, 07 May 2007 14:47:52 GMT
Not currently, but it would be possible to hack the
PreparedStatementLogProxy to get that sort of information in the logs.

A caveat here is that by adding logging, you will slow down your
application, and slightly change it's performance profile.

A better way (if possible) would be to use the tools that are provided
by your database vendor for sql profiling.


On 5/7/07, Tom Henricksen <TomH@a-t-g.com> wrote:
> We are trying to do some diagnostic work on our iBatis code.  We basically
> want to pinpoint slow running queries.  Is there anything in the API we
> could have call back to our code to tell us the actual query running or
> giving us any timing information?
> Thanks,
> Tom

View raw message