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 Driver interface?
What class.forname does, while loading the drivers?
Differentiate between stored procedure and functions?
What are the main components of JDBC ?
What is database deadlock ? How can we avoid them?
What is a lock in jdbc?
How to use JDBC to connect Microsoft Access?
How many types of resultset are there in jdbc?
What is phantom read and which isolation level prevents it?
What is type 4 jdbc driver?
How can I write to the log used by DriverManager and JDBC drivers?
Does jdbc use ssl?
Where is mysql jdbc driver located?
What is a jdbc url?
What is metadata in java programming?