Skip to Main Content

Java Database Connectivity (JDBC)

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!

How to get SQL query from PreparedStatement?

843859Nov 19 2008 — edited Nov 20 2014
Hi,

I'm using PreparedStatements to send queries to my databases.

However, I haven't found a way yet to receive the final SQL statement that will be sent to the database if using PreparedStatements.

Is there such a functionality and if not, is there a reason for not having it?

Thanks,
Frank
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 23 2008
Added on Nov 19 2008
8 comments
493 views