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
How data can be inserted into long row column of database?
How can you use preparedstatement in jdbc?
What is “dirty read” in JDBC? Which isolation level prevents dirty read?
What is jdbc connection?
What are the types of jdbc drivers that exist?
How many types of JDBC Drivers are present and what are they?
What is setautocommit in jdbc?
What is JDBC Savepoint? How to use it?
What is the difference between client and server database cursors?
What is jdbc odbc bridge in java?
How does jdbc driver work?
What is difference between statement and preparedstatement in jdbc?
Is jdbc a web technology?
What is the role of class.forname while loading drivers?
What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?