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 |
How to move the cursor in scrollable resultset ?
How does jdbc connect to database?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
Can you define a foreign key, with a key from the same table?
How many types of jdbc drivers are available?
write down exceptions those appear in java programs when u write JDBC Programs?
Why prepared statements are faster?
How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
Explain about DSN?
How can you tune SQL statements?
How to check jdbc driver version in websphere?