Answer Posted / chandrarekha
Statement interface----createStatement() method is useful
to create statement object and to execute simple queries...
PreparedStatement interface---derived from the Statement
interface...preparestatement() method used to create
preparedstatement object and used to execute queries with
unknown parameters or where in the parameters are provided
at the run-time
CallabaleStatement interface----derived from the
preparedstatement interface and helpful in executing stored
procedures...prepareCall() method is used to create the
callabalestatement object
| Is This Answer Correct ? | 45 Yes | 6 No |
Post New Answer View All Answers
What is sqlwarning and discuss the procedure of retrieving warnings?
Explain the two tier and three tier architecture of jdbc.
What causes no suitable driver error?
What are dml and ddl?
Can resultset be null in java?
What is a jdbc connection pool?
What class.forname does, while loading the drivers?
Why jdbc is used in java?
Give an example of code used for setting up connection with a driver.
What is database deadlock ?
Explain jdbc savepoint?
Why prepared statements are faster?
What are the higher level apis under development on top of jdbc currently?
What is executequery in java?
Compare jdbc and odbc and how is jdbc required in this context.