What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / bharat
executeUpdata()= is for the operations such as Insert,
update and delete on SQL by PreparedStatement or Statement.
executeQuery()= is for operation select of Sql by
PreparedStatement or Statement.
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What are the exceptions in jdbc?
What do you mean by two phase commits?
Explain the difference between rowset vs. Resultset in jdbc?
How you restrict a user to cut and paste from the html page using java programing?
Is jdbc a web technology?
What is jdbc dialect?
How many ways that we can view a result set?
Is it possible to connect to multiple databases simultaneously?
What are the different types of lockings in jdbc?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
What are the main steps in java to make JDBC connectivity?
What is jdbc url for mysql?
Which jdbc driver type s is are the jdbc odbc bridge?
State the different connection methods used for creating different types of sql.