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 is the limitation of PreparedStatement and how to overcome it?
What is JDBC Statement?
What are the common JDBC problems that you got and how do you solved them?
Diff. types of triggers..
Explain the importance of drivermanager.
What is the return type of execute, executequery and executeupdate?
Which interface is responsible for transaction management in jdbc?
What is an encrypted internet connection?
i have 1000 records in resultset, how to get first 100 records from resultset, because resultset fetch all 1000 records at a time?
Explain the JDBC Architecture?
What is JDBC RowSet? What are different types of RowSet?
What happens if connection is not closed in jdbc?