Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 2 phase commit?

1168


What is difference between odbc and jdbc?

1022


What is executeupdate in java?

886


How can I connect mysql or oracle with java?

962


What is difference between statement and preparedstatement in jdbc?

907


How can I write to the log used by DriverManager and JDBC drivers?

995


Is jdbc part of j2ee?

979


What is a statement?

1007


Explain some new features available in jdbc 4.0?

1012


When do we get java.sql.SQLException: No suitable driver found?

960


What are the benefits of PreparedStatement over Statement?

1002


How does a custom RowSetReader get called from a CachedRowSet?

1080


What is the JDBC syntax for using a literal or variable in a standard Statement?

991


What does connection pooling mean ?

982


How to set NULL values in JDBC PreparedStatement?

975