What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / bhoopesh alladi
execute()- is for invoking the functions or stored
procedures of SQL by the CallableStatement.
executeUpdata()- is for the operations such as insert,
update or delete on SQL by PreparedStatement, Statement.
executeQuery() - is for operation select of Sql by
PreparedStatement or Statement.
| Is This Answer Correct ? | 69 Yes | 21 No |
Post New Answer View All Answers
How do I connect to jdbc?
What does jdbc setmaxrows method do?
explain about special characters?
What are the advantages of collection pools?
What is @entity in java?
What is the use of the statement in jdbc?
Is it possible to connect to multiple databases simultaneously?
What is the purpose of the jdbc resultset interface?
What is jdbc thin client in oracle?
List the advantages of using datasource?
What is a jdbc driver and how many jdbc drivers are available?
Explain about column name and getter method?
What is the meaning of connection?
Does the database server have to be running Java or have Java support in order for my remote JDBC client app to access the database?
Which package contains jdbc api?