Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

print preparedstatement sql with values

807588May 6 2009 — edited May 6 2009
hi
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2009
Added on May 6 2009
1 comment
1,068 views