How to find that, a row is updated or not?
Answers were Sorted based on User's Feedback
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 |
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 |
How many types of resultset are there in jdbc?
What are the three basic components of the odbc architecture?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What are different types of ResultSet?
What are JDBC statements?
What is the difference between setmaxrows(int) and setfetchsize(int)?
How to execute bulk number of queries at once?
what are the Different types of exceptions in JDBC?
What is the advantage of namedparameterjdbctemplate?
What are the 4 types of jdbc drivers?
how to prevent finally block from execution
Why prepared statements are faster?