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 is preparedstatement in jdbc?
What is the difference between setmaxrows(int) and setfetchsize(int)?
How do I stop nullpointerexception?
What are the classes and methods used for sending sql statements to database?
Are there any ODBC drivers that do not work with the JDBC- ODBC Bridge?
How can a java objects be stored in database?
password, is stored in as plain text. What can I do to protect my passwords?
What is an escape syntax?
What are the 4 types of jdbc drivers?
What is JDBC and ODBC and what are the differences between them?
11 Answers Idbi Bank, Infosys, Infoview, TCS,
How can we execute stored procedures using callablestatement?
What is ojdbc?