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
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What is the difference between executing, executequery, executeupdate in jdbc?
How can we store the file in the oracle database?
How can we execute stored procedures?
What does the jdbc resultset interface?
What does the jdbc driver interface do?
What are types of resultset?
What is jdbc connection string?
What is jdbc in java?
What is the latest version of JDBC? What are the new features added in that?
What is the use of the statement in jdbc?
What is an escape syntax?
What is a datasource in java?
Why do we need jdbc driver?
What is thin driver in jdbc?