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
Is there another way of dealing with the result set that could execute faster?
How a database driver can be loaded with jdbc 4.0 / java 6?
What is the feature of jdbc v4?
What is a jdbc connection string?
State the different connection methods used for creating different types of sql.
How many ways can you update a result set?
What is a lock in jdbc?
Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?
What is jdbc and jpa?
Jdbc-odbc bridge is multi-threaded or not?
What do you mean by batch processing in jdbc?
What is url in jdbc connection?
How many types of resultset are there in jdbc?
Why is odbc needed?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();