This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps 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
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion 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: 111

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

Bala

SCJP 5.0
Gonna hunt down SCWCD soon..
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8430

"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."


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get Query from PreparedStatement
 
Similar Threads
PreparedStatements
Need Help in JDBC-Ms access
prepared statement and IN clause
In PreparedStatement how it is detected that query has been changed?
Question on closing ResultSets