What is the difference between ExecuteUpdate and
ExecuteQuery?
Answer Posted / anji
executeUpdate() - is used to update or modify the table, it
will returns howmany rows added/updated in the table.
executeQuery() - is used to retrieve the data from the
table. only for "select" query, this will return a
Resultset metadata
Is This Answer Correct ? | 42 Yes | 2 No |
Post New Answer View All Answers
What is ServletConfig object?
How can you use a servlet to generate a plain text instead of html?
What is the major difference between servlet and applet?
how the HTML data stored in web server?
What are the benefits of using servlet over cgi?
Servlet is pure java object or not?
What is a deployment descriptor?
Can we use the constructor, instead of init(), to initialize servlet?
Differentiate between get and post?
What is the use of httpservletrequestwrapper?
Why do we have servlet filters?
How do you configure a centralized error handler in servlets?
How is an application exception handling is done using a servlet?
How do you design microservices?
Explain mvc pattern.