PreparedStatement is a pre compiled statement but where it's
pre compiled ?
Answer Posted / aravind
Hi Manikandansit
There is a small correction in my answer prepared statement
will be parsed for the first time when it executes any query
and there onwards parsed query will be maintained in some
sort of pool....hence next time when it tries to execute
mutilple queries with different values parsing will not
happen again...that's how we say it as precompiled...so this
will reduce the processing time when u have multiple rows of
data to insert..
I hope this will help you...if u r not satisfied with the
answer please do let me know.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is JDBC Batch Processing and what are it’s benefits?
What is the use of jdbc api?
Is jdbc secure?
Discuss the procedure of retrieving warnings?
What is difference between jdbc and odbc?
Explain the difference between resultset and rowset in jdbc
What is executeupdate in java?
What is JDBC API and when do we use it?
Why do we need a jdbcrowset like wrapper around resultset?
What is represented by the connection object?
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
Briefly tell about the jdbc architecture.
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
What is ojvm used for?
How does jdbc connect to database?