Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Location
    Bangalore, India
    Posts
    5

    Question Unanswered: How do I debug DB2 JDBC PreparedStatement values

    Hi,

    I have a generic question as to how can I debug the actual final statement with my JDBC PreparedStatement after it binds the parameter values? I ran the application in Debug mode in Eclipse, but the DB2 JDBC has lot of different classes and members all with a., b. etc as the class name which was neither meaningful nor easy to pick up.

    Is there a way where I can print the final JDBC PreparedStatement after it has bound all the parameter values just before execution? If so it would be very helpful for debugging.

    Thanks in advance.

    Cheers,
    Raghavan alias Saravanan Muthu

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    would it not be better to ask your question in a programming forum..
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  3. #3
    Join Date
    Apr 2007
    Location
    Bangalore, India
    Posts
    5
    Hi Guy Przytula,

    Thanks. I should have done that. But it was more specific to DB2, I thought it would be appropriate to post in this forum.
    Last edited by itsraghz; 08-20-15 at 08:18. Reason: General edit

  4. #4
    Join Date
    Jul 2013
    Location
    Moscow, Russia
    Posts
    666
    Provided Answers: 55
    Regards,
    Mark.

Tags for this Thread

Posting Permissions

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