What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / bharat
executeUpdata()= is for the operations such as Insert,
update and delete on SQL by PreparedStatement or Statement.
executeQuery()= is for operation select of Sql by
PreparedStatement or Statement.
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
Why should we close database connections in java?
What do you mean by odbc?
What are the 4 types of jdbc drivers?
How can I determine the isolation levels supported by my DBMS?
Which type of JDBC driver is the fastest one?
Why do we need jdbc api?
Does jdbc use ssl?
What is the meaning of connection?
What is jdbc odbc bridge?
Why do I get UnsatisfiedLinkError when I try to use my JDBC driver?
Is uri the same as url?
Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection?
How vendor Naming registry supports JNDI?
What is jdbc architecture?
What is jdbc driver in java?