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
What are database warnings in jdbc and how can we handle database warnings in jdbc?
What causes the "No suitable driver" error?
What is an odbc driver?
What is odbc jdbc?
If you are truncated using JDBC, how can you that how much data is truncated?
Explain about Join?
What is the use of jdbc api?
Is jdbc and orm?
How we can you use preparedstatement.
Is jdbc a protocol?
What is jdbc type?
How to check jdbc connection in java?
Explain how to make updates to the updatable resultsets.
Write a program JDBCcode forfetching student database with SQL.
Does the JDBC-ODBC Bridge work with Microsoft J++?