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
Explain jdbc savepoint?
What happens if connection is not closed in jdbc?
What are the different types of classes in the api component?
Does the JDBC-ODBC Bridge work with Microsoft J++?
Why hibernate is better than jdbc?
Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?
What do you mean by odbc?
How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?
What does it mean to "materialize" data?
How MS-Access DB can be accessed over a network, using JDBC API?
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
What are the functions of the jdbc connection interface?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
Briefly tell about the jdbc architecture.
Which jdbc driver type s is are the jdbc odbc bridge?