What is PreparedStatement?

Answer Posted / harish

Some times it is more convinient to use this for sending
SQL statements to the DBMS. The main feature , which
distinguishes it from its super class statement is that
unlike statement,it is given an SQL statement right when it
is created. This SQL statement is then sent to the DBMS
righat away,where is it compiled.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write an sql to find all records having all upper case alphanumeric characters in a field ?

531


How do you insert images into database using jdbc?

569


What happens if we don't close the connection in jdbc?

489


Why prepared statements are faster?

533


What does jdbc setmaxrows method do?

519






What is jdbc template?

523


What is ojdbc?

530


What is jdbc connection interface?

520


Where is jdbc url mysql?

500


Which type of driver is unique in jdbc?

492


Explain the various types of locking system in jdbc?

497


Where can I find info, frameworks and example source for writing a JDBC driver?

517


Is jdbc and orm?

503


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

548


What does executequery return in java?

511