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
What is the use of jdbc?
Expalin the method of calling a stored procedure from jdbc.
How data can be inserted into long row column of database?
Explain about Join?
What are types of resultset?
How to rollback a JDBC transaction?
What is sqlwarning and discuss the procedure of retrieving warnings?
What is ojdbc?
How does jdbc work?
What is jdbc connection interface?
How many categories of jdbc drivers are there?
How can I determine where a given table is referenced via foreign keys?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
What are the types of statements in jdbc?
What do you mean by batch processing in jdbc?