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 |
What are the 4 types of jdbc drivers?
What are the new features added to JDBC 4.0?
How to rollback a JDBC transaction?
What is the function of setautocommit?
How to get a whole row of data at once?
Does jdbctemplate close connection?
What should be done for auto generating primary key id in a table ?
What are the different types of lockings in jdbc?
What is jdbc connection?
Is JDBC a language or Application?
How to move the cursor in scrollable resultset ?
What is the meaning of “dirty read” in the database?