What are JDBC statements?

Answer Posted / vikas

JDBC Statements are Interfaces & are of three types.
1. statement
2. preparestatement
3. callable statement

in this preparestatement extends the statement interface and
callable statement extends preparestatement

you can create only one query using statement and you can
pass multiple queries through preparestatement and if we
have to call procedure from database then use callable statment.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What class.forname will do while loading drivers of jdbc?

502


What is jdbc and its advantages?

500


what happen if we set JDBC string to NULL?

2951


Explain about Join?

597


code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)

3887






What are the new features available in jdbc 4.0?

534


What is jdbc architecture in java?

477


What are collection pools?

521


How does a file store compare with a jdbc store?

636


What is ODBC and JDBC? How do you connect the Database?

539


How can I connect mysql or oracle with java?

552


How can I determine the isolation levels supported by my DBMS?

521


What is drivermanager in jdbc?

544


What are the utilities of the callablestatement?

520


What types of DataSource objects are specified in the Optional Package?

507