It can be really useful to log exactly what SQL is
called. When you're talking about CallableStatements
then that cannot not be so simple. The procedure name
might be something like "foo(?,?,?)" and we pass in the
parameters separately. It would be nice to be able to
log something like "foo(1, 'abc', 2.0)" so we could see
_exactly_ what happened.
As usual, this should have no impact on perfomance if
debug logging is disabled.
Log in to post a comment.