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
Is jdbc a middleware?
What do you mean by batch processing in jdbc?
How do I check in my code whether a maximum limit of database connections have been reached?
What is url in jdbc connection?
What are database warnings in jdbc and how can we handle database warnings in jdbc?
Is possible to open a connection to a database with exclusive mode with JDBC?
What is database deadlock ?
What is encrypted connection?
What is jsp and jdbc?
How many ways can you update a result set?
What does executequery return in java?
Explain how data flows from view to db and reverse
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
What are different types of ResultSet?