Is there a way to enable logging (print out executed SQL statement) with the DAO object if the SQLs are precompiled? Especially when it is a parameterized query and I need to see those passed in values.
Thanks!
Is there a way to enable logging (print out executed SQL statement) with the DAO object if the SQLs are precompiled? Especially when it is a parameterized query and I need to see those passed in values.
Thanks!
It's not Spring related - you can try to enable logging on your jdbc driver or use p6spy.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags