What is a PreparedStatement?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we return resultset in java?

643


What is odbc. how is it related to sql cli?

773


How do I start debugging problems related to the JDBC API?

706


What is jdbc odbc bridge?

673


Why do I have to reaccess the database for Array, Blob, and Clob data?

737






What is the execute method in java?

710


Is jdbc connection secure?

661


What is the advantage of namedparameterjdbctemplate?

695


What is createstatement method in java?

688


What is the difference between ojdbc6 and ojdbc7?

611


What is the role of the jdbc drivermanager class?

659


What are the basic exceptions in jdbc?

707


What are the different types of locking in JDBC?

733


What is the role of jdbc drivermanager class?

780


How to update a resultset programmatically?

743