What is a PreparedStatement?
Answers were Sorted based on User's Feedback
Answer / umamaheswari
PreparedStatement used to send SQL Statement to the Database
It not only contains the SQL Statement ,but also the
precompiled SQL Statement.It means that when the
PreparedStatement is executed ,the DBMS just run the SQL
Statement without compiling it
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / ganesan
If you want to execute a Statement object many times, it
normally reduces execution time to use a PreparedStatement
object instead.
Is This Answer Correct ? | 5 Yes | 1 No |
Why do we need jdbc?
why we don't use the type 2 driver for connect to the database in jdbc?
Is possible to open a connection to a database with exclusive mode with JDBC?
How can you load the drivers in jdbc?
What is a Connection?
What are the differences between statement and preparedstatement interface?
What driver should I use for scalable Oracle JDBC applications?
Is java a database?
How to know howmuch data is truncated?
What is meant by a ResultSet?
What is savepoint in jdbc?
What are the steps to connect to the database in java?