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 we can you use preparedstatement.
The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?
What is database deadlock ?
What is the reason why we need a jdbcrowset like the wrapper around resultset?
How to set NULL values in JDBC PreparedStatement?
Is possible to open a connection to a database with exclusive mode with JDBC?
What is a PreparedStatement?
What is the difference between setmaxrows(int) and setfetchsize(int)?
Does JDBC support stored procedures?
What are the benefits of PreparedStatement over Statement?
Explain the life cycle of jdbc.
What is connection commit?