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
What is a merge field?
Does jdbc require oracle client?
How to invoke Oracle Stored Procedure with Database Objects as IN/OUT?
What is jdbc oracle thin?
What are the three basic components of the odbc architecture?
How to check jdbc driver version in websphere?
What is the meaning of batch updates?
What are the 4 types of jdbc drivers?
What are temp tables ?
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
Can resultset be null in java?
How do I know which jdbc driver to use?
Which type of JDBC driver is the fastest one?
What do you mean by odbc?
What is jdbc stand for?