This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 10266
    
    8

"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!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get Query from PreparedStatement