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

DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

596


What do you understand by DDL and DML statements?

516


java based application for hospital management

3455


What is JDBC Transaction Management and why do we need it?

557


What is DML?

583






Does sql allow null values ? Can we use it within where clause ?

521


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

495


What is database connection pooling? Advantages of using a connection pool?

553


What are devices?

501


What is jdbc odbc bridge?

514


What is the use of dialect?

571


What is the meaning of batch updates?

574


What is hbm xml?

506


What is the use of the statement in jdbc?

501


Is there another way of dealing with the result set that could execute faster?

533