The ResultSetMetadata Interface

When you retrieve data from the database it is to important to know as much extra information about the retrieved data itself as possible. This “extra” information lets developers know, for example, what the retrieved data's datatype is, how many columns the result set has, even the name of the column where the cursor is located in the ResultSet. All of this is made possible by the ResultSetMetadata interface available in the JDBC API. Metadata is the extra information available in the result set as well as other data that developers use to interpret and manipulate the data.

Because a result set metadata is always associated with a result set, a ResultSetMetaData object is created from the ResultSet object using ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.