What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / boomiraj.p
executeUpdate() : is used to update the data using "insert,update and delete" statements.Send the data from fron t end to back end.
executeQuery() : used to select the data using "select" statement.Retrieve the data from back end to front end.
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
How can I determine where a given table is referenced via foreign keys?
Why do I have to reaccess the database for Array, Blob, and Clob data?
What is the meaning of “dirty read” in the database?
What are the advantages of collection pools?
What is the meaning of batch updates?
What do you understand by jdbc driver and explain its types?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?
What are the advantages of using preparedstatement over statement?
Does jdbc use odbc?
Does JDBC support stored procedures?
How can we disable a constraint ?
What are the different types of resultset?
What are database warnings in jdbc and how can we handle database warnings in jdbc?
How can you retrieve data from the resultset using jdbc?