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 jdbc and jdbc drivers?
How do I find jdbc version?
What is in term of jdbc a datasource?
What are the classes and methods used for sending sql statements to database?
Explain in detail about JDBC and its general features?
What is a jdbc connection string?
What do you mean by batch processing in jdbc?
What is the JDBC syntax for using a literal or variable in a standard Statement?
How data can be inserted into long row column of database?
How to check jdbc driver version in sql server?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
What are the main steps in java to make JDBC connectivity?
What are the jdbc drivers in java?
Is there another way of dealing with the result set that could execute faster?
What is jdbc? Describe the steps needed to execute a sql query using jdbc.