Answer Posted / suresh
PreparedStatements are precompiled. When you create a
PreparedStatement you supply a SQL statement. This statement
is passed right along to your database where it is compiled
and cached. The advantage of this is that if you are running
a query multiple times the database will not have to compile
it each time before it is run. This can result in a hefty
performance boost.
Read more: How to use a Java Prepared Statement | eHow.com
http://www.ehow.com/how_5386522_use-java-prepared-statement.html#ixzz12INtbKn4
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How a database driver can be loaded with jdbc 4.0 / java 6?
Explain the various types of locking system in jdbc?
How do I disallow NULL values in a table?
Is jdbc faster than hibernate?
What is the meaning of connection?
Where is jdbc url mysql?
Explain Basic Steps in Writing a Java Program Using Jdbc?
What is metadata in jdbc?
What is jdbc in java?
Why is jdbc used?
What is the purpose of the jdbc resultset interface?
explain about special characters?
How do I start debugging problems related to the JDBC API?
Is it possible to connect to multiple databases simultaneously?
What is the meaning of “dirty read” in the database?