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.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What is xe in oracle jdbc url?
What are temp tables ?
How can I get information about foreign keys used in a table?
Why would you use setautocommit(false) in jdbc?
How do I insert an image file (or other raw data) into a database?
What does adapter class provide?
What is the JDBC?
What is jdbc and odbc in java?
Describe how the jdbc application works.
What is JDBC DataSource and what are it’s benefits?
How to connect html page to database using jdbc?
What is 2 phase commit?
Where can I find info, frameworks and example source for writing a JDBC driver?
What does jdbc stand for?