PrepAway - Latest Free Exam Questions & Answers

what must you supply to the ResultSet object?

You are the database specialist of your company. You are managing the in-house
database systems. With JDBC, you want to make updates to a ResultSet object. To
do so, what must you supply to the ResultSet object?

PrepAway - Latest Free Exam Questions & Answers

A.
CONCUR_UPDATABLE

B.
UPDATABLE

C.
CONCUR

D.
CONCUR_RESULT

E.
RESULT_UPDATABLE

Explanation:
According to the online Java tutorial provided by Sun at java.sun.com Before you
can make updates to a ResultSet object, you need to create one that is updatable. In
order to do this, you supply the ResultSet constant CONCUR_UPDATABLE to the
createStatement method. The Statement object that is created will produce an
updatable ResultSet object each time it executes a query.


Leave a Reply