Thursday, 6 September 2012

What statements are correct about positioned updates (i.e. cursor updates) in ResultSets? (2 correct answers). | JDBC

A. Using the cursor technique is currently the only possible way to change the data in the current row of a ResultSet
B. Insert statements are only supported when using scrollable cursors.
C. Only scrollable updateable ResultSets can use this approach to change the data in the current row of a ResultSet
D. The name of the cursor is specified by the setCursorName(String name) method the Statement object.

Ans:   B,D

No comments: