• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Prepare Statement?

 
umar hathab
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one tell me how to send a prepared statement to the log file whith set values..?
For example
Statement stmt=Connection.prepareStatement(update emp set empno=? where empid=?)
stmt.setInt(100);
stmt.setInt(1000);

I want to see my log file contains some statement like update emp set empno=100 where empid=1000.
I want to know how to S.O.P this to log file?
Thanks,
A.Umar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic