Pages

Subscribe:

Ads 468x60px

Tuesday, November 1, 2011

ResultSetMetaData

Compared to the DatabaseMetaData, the ResultSetMetaData object is similar and has fewer methods. But these will be more popular with application developers. The ResultSetMetaData, as the name implies, describes a ResultSet object. The ResultSetMetaData object can be used to find out about the types and properties of the columns in a reultset. You need to use methods such as getColumnLabel() and getColumnDisplaySize() even in normal application programs. Using these methods will result in programs that handle result sets generically, thus assuring uniformity across various applications in an organization as the names and sizes are taken from the database itself.

No comments:

Post a Comment