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
What is 2 phase commit?
What is difference between odbc and jdbc?
What is executeupdate in java?
How can I connect mysql or oracle with java?
What is difference between statement and preparedstatement in jdbc?
How can I write to the log used by DriverManager and JDBC drivers?
Is jdbc part of j2ee?
What is a statement?
Explain some new features available in jdbc 4.0?
When do we get java.sql.SQLException: No suitable driver found?
What are the benefits of PreparedStatement over Statement?
How does a custom RowSetReader get called from a CachedRowSet?
What is the JDBC syntax for using a literal or variable in a standard Statement?
What does connection pooling mean ?
How to set NULL values in JDBC PreparedStatement?