Results 1 to 3 of 3

Thread: View the SQL generated by Spring Batch

  1. #1
    Join Date
    Jan 2010
    Posts
    2

    Default View the SQL generated by Spring Batch

    Is there a configuration option to turn on the logging of all the insert statements that are executed by Spring Batch.

    An analogy would be the show_sql property in the hibernate configuration.

    Thanks.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Try setting up DEBUG logging for org.springframework.jdbc.

  3. #3
    Join Date
    Jan 2010
    Posts
    2

    Default

    Thanks Dave. It works like a charm.

Posting Permissions

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