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 |
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
Is jdbc a protocol?
What are the types of statements in jdbc?
what does the method Class.forName returns?
What is jdbc odbc connection?
Does sql allow null values ?
How do I receive a ResultSet from a stored procedure?
what are the Different types of exceptions in JDBC?
What is namedparameterjdbctemplate?
What is createstatement method in java?
What is jdbc dialect?
Why do we use jdbc statements?