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

How do I check in my code whether a maximum limit of database connections have been reached?

591


How to rollback a JDBC transaction?

576


What is difference between jdbc and odbc?

504


Is jdbc open source?

468


Explain about multiple implementations and drive manager?

574






What is the use of jdbc api?

515


Name the new features added in jdbc 4.0.

558


What are the components of jdbc?

553


What are jdbc and its components?

588


What is the return type of execute, executequery and executeupdate?

665


If I use the JDBC API, do I have to use ODBC underneath?

616


What is 2 phase commit?

571


Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?

499


What is encrypted connection?

510


What are the new features added to JDBC 4.0?

547