Discussion :: JDBC
- What happens if you call deleteRow() on a ResultSet object?
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 cannot delete rows from a ResultSet
|
Answer : Option B
Explanation :
Be The First To Comment