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 phantom read and which isolation level prevents it?
Why is jdbc needed?
What is the use of statement in jdbc?
commit() and rollback() methods are defined in which interface?
What are different parts of a url?
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What is the use of setFetchSize() and setMaxRows() methods in Statement?
What is connection pooling? What Method and class used for Connection pooling in Java?
How warnings are retrieved in JDBC?
How to insert and delete a row programmatically? (new feature in JDBC 2.0)
Explain the difference between rowset vs. Resultset in jdbc?
Difference between JDBC and Hibernate? Give one sample based on the variance?