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...


How to find that, a row is updated or not?

Answers were Sorted based on User's Feedback



How to find that, a row is updated or not?..

Answer / dipesh

when u run executeupdate() it return int if 1 return then
row updated oyherwise not.

Is This Answer Correct ?    3 Yes 0 No

How to find that, a row is updated or not?..

Answer / bln

executeUpdate() method returns an int value. This int
value is no of rows updated by the given query. If no rows
update, then it returns zero.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More JDBC Interview Questions

How many types of resultset are there in jdbc?

0 Answers  


What are the three basic components of the odbc architecture?

0 Answers  


What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

0 Answers  


What are different types of ResultSet?

0 Answers  


What are JDBC statements?

2 Answers  


What is the difference between setmaxrows(int) and setfetchsize(int)?

0 Answers  


How to execute bulk number of queries at once?

3 Answers   Wipro,


what are the Different types of exceptions in JDBC?

1 Answers  


What is the advantage of namedparameterjdbctemplate?

0 Answers  


What are the 4 types of jdbc drivers?

0 Answers  


how to prevent finally block from execution

4 Answers   Bosch,


Why prepared statements are faster?

0 Answers  


Categories