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
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
What does executeupdate return in java?
How can we execute stored procedures using callablestatement?
How does jdbc work?
Explain about multiple implementations and drive manager?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
What are the different types of locking in JDBC?
Why do we use jdbc in java?
What is jdbc driver?
What does the jdbc resultsetmetadata interface?
Is java a database?
What is jdbc and jpa?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
How can I determine the isolation levels supported by my DBMS?
Briefly tell about the jdbc architecture.