What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / srinivasan
execute() - will do the querying the database & also the
update,insert,delete on the database.
executeUpdate() - only the update,insert,delete on the
database.
executeQuery() - only the querying the database.
| Is This Answer Correct ? | 80 Yes | 23 No |
Post New Answer View All Answers
What are the different types of drivers under jdbc?
Is jpa faster than jdbc?
What are restrictions on triggers?
Why hibernate is better than jdbc?
What is transaction processing in jdbc?
What is JDBC Transaction Management and why do we need it?
What is a jdbc connection string?
What is metadata in java programming?
What is the major difference between java.util.date and java.sql.date data type?
What is an advantage of using the jdbc connection pool?
What is difference between odbc and jdbc?
Explain about DSN?
What are devices?
Why resultset is used in java?
How to check jdbc driver version in websphere?