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
Why do we use jdbc?
What is JDBC RowSet? What are different types of RowSet?
What are the components of jdbc?
What are the different types of statements in jdbc?
Which package is used for jdbc application?
Why prepared statements are faster?
What is the benefit of having jdbcrowset implementation? Why do we need a jdbcrowset like wrapper around resultset?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
What is JDBC Connection isolation levels?
What are the main steps in java to make JDBC connectivity?
What is represented by the connection object?
Why isn't the java.sql.DriverManager class being found?
What is difference between jdbc and odbc?
What is jdbc connection string?
Why resultset is used in java?