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 |
Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?
What is Apache DBCP API?
Under what circumstances, that all four drivers are used?
What is in term of jdbc a datasource?
What is resultsetmetadata?
What is in terms of jdbc a datasource?
What is jdbc odbc bridge?
How to update a resultset programmatically?
How to use JDBC API to call Stored Procedures?
how can connection with oracle10g with java
What is “dirty read” in JDBC? Which isolation level prevents dirty read?
what is the best way, in terms of performance, to do multiple insert/update statements, a PreparedStatement or Batch Updates?