Results 1 to 2 of 2

Thread: logging precompiled SQLs

  1. #1

    Default logging precompiled SQLs

    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!

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    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

Similar Threads

  1. Replies: 14
    Last Post: Apr 25th, 2008, 05:01 AM
  2. Setting logging level to Debug in Spring
    By fineman in forum Container
    Replies: 2
    Last Post: Jul 8th, 2005, 09:31 AM
  3. How is Logging configured
    By RAPHEAD in forum Container
    Replies: 6
    Last Post: Jun 1st, 2005, 03:03 PM
  4. destroy session upon logging out.Help!
    By mmalonzo in forum Security
    Replies: 1
    Last Post: Mar 2nd, 2005, 03:27 PM
  5. Logging best practices?
    By dekker in forum Container
    Replies: 1
    Last Post: Dec 6th, 2004, 09:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •