Thursday, 6 September 2012

What happens if you call deleteRow() on a ResultSet object? | JDBC

A. The row you are positioned on is deleted from the ResultSet, but not from the database.
B. The row you are positioned on is deleted from the ResultSet and from the database
C. The result depends on whether the property synchronizeWithDataSource is set to true or false
D. You will get a compile error: the method does not exist because you can not delete rows from a ResultSet

Ans:   B

No comments: