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

Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

0 Answers  


What is Apache DBCP API?

0 Answers  


Under what circumstances, that all four drivers are used?

0 Answers   TCS,


What is in term of jdbc a datasource?

0 Answers  


What is resultsetmetadata?

0 Answers  


What is in terms of jdbc a datasource?

0 Answers  


What is jdbc odbc bridge?

0 Answers  


How to update a resultset programmatically?

0 Answers  


How to use JDBC API to call Stored Procedures?

0 Answers  


how can connection with oracle10g with java

3 Answers   IonIdea,


What is “dirty read” in JDBC? Which isolation level prevents dirty read?

0 Answers  


what is the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?

2 Answers  


Categories