How we say that PreparedStatment is Precompiled? where it
will be compiled?
Answer Posted / venkatesh.t
prepared Statements are compiled at database server side.
Once the statement is passed to the database the Statement
is parsed for validness and checked weather the table exist
or not .if the statement is valid the server holds the
statement object and process the multiple request from the
client.
Finally parsing of the statement is done at server side that
to only once.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of the jdbc resultset interface?
What is the use of getGeneratedKeys() method in Statement?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
What is an advantage of using the jdbc connection pool?
What is executequery in java?
How will you perform truncation using JDBC?
What is getconnection method in java?
What are the exceptions in jdbc?
What is the difference between jdbc and jndi?
What is the difference between client and server database cursors?
What is in terms of jdbc a datasource?
What is jdbc url for mysql?
Where is ojdbc14 jar located?
What is jdbc odbc in java?