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
explain about special characters?
Explain the main method?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
Give steps to connect to the db using jdbc?
What are the exceptions in jdbc?
What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?
What is difference between statement and preparedstatement in jdbc?
What is addbatch jdbc?
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
What are the differences between execute, executequery, and executeupdate?
What is a merge field?
What are the ddl statements?
What are the common tasks of JDBC?
What is jdbc explain?
What does the jdbc databasemetadata interface?