Basic HTML version of Foils prepared 7 October 97

Foil 12 Data from ResultSets

From Overview of JDBC and its use with Microsoft Access ARL Database Tutorial -- February 98. by Nancy McCracken(Sangetta Aggarwal, Udayan Parvate, Tom Pulikal)


1 The getxxx methods, where xxx is a Java type, can take column labels or column position numbers for an argument. (findColumn ("label") can return column position.)
2 JDBC API contains a table telling which getxxx methods can be used with particular SQL types.
3 ResultSet.getMetaData returns a ResultSetMetaData object which gives the number, types and properties of the ResultSet object's columns.
4 Can use streams on LONG SQL types.
5 For optional or multiple ResultSets, there are methods getResultSet, getUpdateCount, and getMoreResults.

in Table To:


© on Mon Oct 13 1997