What is the difference between ExecuteUpdate and
ExecuteQuery?

Answer Posted / vishnuvardhan

ExecuteUpdate method will return integer value.
ExecuteQuery method will return ResultSet value.

Is This Answer Correct ?    45 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is SingleThreadModel interface?

642


What is the use of attribute in servlets?

523


What do you mean by mime type?

525


Can you call a jsp from the servlet?

529


Which http method is said to be non-idempotent and idempotent?

588






What is servlet instance?

515


Explain the architechure of a servlet?

580


What is a generic servlet?

501


How can you start a jta transaction from a servlet deployed on jboss?

645


Is servlet a framework?

519


how many jsp scripting elements are there and what are those?

522


Explain the differences between jsp and servlet.

522


What is the major difference between context parameter and context attribute?

573


How do you define a servlet?

504


What is getservletcontext?

525