posted 21 years ago
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
Sun Certified Java Programmer for Java 2.0 (93%) <p>----Winners always make the learning a habit