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

What are the 4 types of jdbc drivers?

0 Answers  


What are the new features added to JDBC 4.0?

0 Answers  


How to rollback a JDBC transaction?

0 Answers  


What is the function of setautocommit?

0 Answers  


How to get a whole row of data at once?

2 Answers  


Does jdbctemplate close connection?

0 Answers  


What should be done for auto generating primary key id in a table ?

0 Answers  


What are the different types of lockings in jdbc?

0 Answers  


What is jdbc connection?

0 Answers  


Is JDBC a language or Application?

3 Answers  


How to move the cursor in scrollable resultset ?

0 Answers  


What is the meaning of “dirty read” in the database?

0 Answers  


Categories