jQuery in Action, 2nd edition*
The moose likes Ranch Office and the fly likes How to get Query from PreparedStatement Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » This Site » Ranch Office
Reply locked New topic
Author

How to get Query from PreparedStatement

Anshul Pathak
Greenhorn

Joined: Jan 31, 2009
Posts: 2
Dear all,


How I can fetch created query from PreparedStatement..


Regards,
Anshul
Balagopal Kannampallil
Ranch Hand

Joined: Oct 18, 2004
Posts: 136

Ranch already has this topic discussed. Please follow the url
http://www.coderanch.com/t/306592/JDBC/java/check-query-within-PreparedStatement-object

SCJP 5.0 and now fighting with ExtJS
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9993
    
    7

"This forum is intended for questions and comments about the web sites www.javaranch.com and www.coderanch.com.
It is not for questions about the Java language - that's what all our other forums are for."


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
 
subject: How to get Query from PreparedStatement
 
Similar Threads
PreparedStatements
Need Help in JDBC-Ms access
In PreparedStatement how it is detected that query has been changed?
Question on closing ResultSets
prepared statement and IN clause