What is execute(), executeUpdate() and executeQuery()
methods?
Answer Posted / sree
executeUpdate() is for non selecting statements
executeQuery() is for selecting statements.
| Is This Answer Correct ? | 21 Yes | 18 No |
Post New Answer View All Answers
What is a jdbc connection string?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
What does executeupdate return in java?
How can I instantiate and load a new CachedRowSet object from a non-JDBC source?
How to check jdbc driver version in websphere?
List some new features available in jdbc 4.0?
How do I set properties for a JDBC driver and where are the properties stored?
What is CLOB and BLOB datatypes in JDBC?
How to check jdbc driver version in sql server?
What are the methods which can verify the cursor particular position?
How can you make the connection using jdbc?
Can resultset be null in java?
What are the packages are used in jdbc?
Does jdbc use ssl?