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


Please Help Members By Posting Answers For Below Questions

What is encrypted connection?

496


What are the flow statements of jdbc?

517


How many categories of jdbc drivers are there?

481


Why is jdbc needed?

508


How to rollback a JDBC transaction?

564






How can I determine where a given table is referenced via foreign keys?

551


What is com mysql jdbc driver?

498


Does jdbc use ssl?

494


What is type 4 jdbc driver?

477


What is ojdbc?

527


What is connection pooling and why it is used?

523


What is jdbc and odbc?

499


What is jdbc odbc?

514


What is in terms of jdbc a datasource?

514


What is a jdbc url?

460