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 |
What is the use of JDBC DriverManager class?
What is odbc jdbc?
What is device controller?
What is an escape syntax?
What is Type-2 Driver and when this driver is used?
Differentiate between type_scroll_insensitive and type_scroll_sensitive.
What should be done for auto generating primary key id in a table ?
Where jdbc drivermanager class is used?
Give an example of code used for setting up connection with a driver.
How many categories of jdbc drivers are there?
Is jdbc and orm?
Does jdbctemplate use prepared statements?