print preparedstatement sql with values
807588May 6 2009 — edited May 6 2009hi
I have replaced the values using preparedstatment and its setString methods. i want to print the statement with the values replaced in PS. its for our auditing purpose. using database itself is not an option, has to be done in my java application
so how can i print the statement which is being executed along with the replaced values?
Thanks