What are JDBC statements?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / prasad rao
These are the JDBC Statements:-
1) Statement
2) PreaparedStatement
3) CallableStatement
| Is This Answer Correct ? | 0 Yes | 0 No |
Give an example for execution of sql statement.
Without using of Class.forName(? ?), how do you connect to db?
Is the JDBC-ODBC Bridge multi-threaded?
What happens if connection is not closed in jdbc?
How to get the data from a table into a buffer?
What is JDBC Savepoint? How to use it?
What is thin driver in jdbc?
Which is better odbc or jdbc?
HI ALL, How to Overcome "OutOfMemoryException"? when I am compiling source having more than 1000 LOC throwing this exception. Can any one give correct answer to my question? thx
What is savepoint in jdbc?
What are the types of jdbc drivers that exist?
What are JDBC Best Practices?