Statement, PrepareStatement and Callable all these are
interfaces. Thought it is a interface how come we are
creating objects and calling methods("preparestatement()")
in it. In which class this method is defined.
Please let me know. Thanks in advance.
example:
PreparedStatement pre = con.prepareStatement(
"UPDATE COFFEES SET SALES = ? WHERE COF_NAME LIKE ?");
Answer Posted / brahma
Driver vendor provides implementation classes for these
interfaces.
for example: oracle
all the methods implemented in OracleStatement class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain jdbc savepoint?
What is connection pooling and why it is used?
What is JDBC ResultSet?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
When do we get java.sql.SQLException: No suitable driver found?
What is jdbc driver?
What is connection commit?
What is jndi lookup?
Name the types of jdbc drivers.
What is the meaning of batch updates?
Is jdbc connection secure?
What is the purpose of jdbc?
What does jdbc do?
What is jdbc thin client?
What is jdbc url for mysql?