How can you retrieve information from a ResultSet?
By invoking the method get(…, String type) on the ResultSet, where type is the database type By invoking the method get(…, Type type) on the ResultSet, where Type is an object which represents a database type By invoking the method getValue(…), and cast the result to the desired Java type. By invoking the methods on the ResultSet: getString(…), getBoolean (…), getClob(…),getInt() etc
Answers
Answered by
0
As mentioned previously, you access the data in a ResultSet object through a cursor, which points to one row in the ResultSet object. However, when a ResultSet object is first created, the cursor is positioned before the first row. The method CoffeeTables. viewTable moves the cursor by calling the ResultSet.
Here is your answer !
Similar questions