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

why we don't use the type 2 driver for connect to the database in jdbc?

1 Answers   TCS,


What do you mean by batch processing in jdbc?

0 Answers  


Difference between Generic Servlet and HTTP Servlet?

13 Answers  


What are the flow statements of jdbc?

0 Answers  


Does jpa use jdbc?

0 Answers  


What are the higher level apis under development on top of jdbc currently?

0 Answers  


What are the different types of locking in JDBC?

0 Answers  


What is jdbc type?

0 Answers  


What are the differences between execute, executequery, and executeupdate?

0 Answers  


What is addbatch jdbc?

0 Answers  


Why do we need jdbc api?

0 Answers  


How to check jdbc driver version in websphere?

0 Answers  


Categories