How can you retrieve information from a resultset
Asked by admin @ in World Languages viewed by 375 People
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