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
What are the 4 types of jdbc drivers?
List the common jdbc exceptions ?
What is the different between ResultSet and RowSet?
What is two-phase commit in the database?
What is the meaning of connection?
How can I determine where a given table is referenced via foreign keys?
Why do we use jdbc statements?
Does jdbctemplate use prepared statements?
How to use JDBC API to call Stored Procedures?
What is the role of class.forname while loading drivers?
What is getconnection method in java?
Is oracle client required for jdbc connection?
Where can I find info, frameworks and example source for writing a JDBC driver?
What are the standard isolation levels defined by JDBC?
How to connect multiple database in jdbc?