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 ?");
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / brahma
Driver vendor provides implementation classes for these
interfaces.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are database warnings in jdbc and how can we handle database warnings in jdbc?
Explain the various types of locking system in jdbc?
What is Normalization?
4 Answers Accenture, Atos Origin,
What are four types of JDBC driver?
Can I use JDBC to execute non-standard features that my DBMS provides?
Explain the two tier and three tier architecture of jdbc.
Explain the process of creating tables using NetBeans IDE?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
write down exceptions those appear in java programs when u write JDBC Programs?
What is database deadlock ?
What are the differences between statement and preparedstatement interface?
What are the different types of 2 tier and 3 tier architecture ?