public ResultSetMetaData getMetaData ( ) throws SQLException { if ( tc . isEntryEnabled ( ) ) Tr . entry ( this , tc , "getMetaData" ) ; // First, check if a ResultSetMetaData wrapper for this ResultSet already exists. ResultSetMetaData rsetMData = null ; try // get a meta data { rsetMData = rsetImpl . getMetaData ( ) ; } catch ( SQLException ex ) { FFDCFilter . processException ( ex , "com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.getMetaData" , "1579" , this ) ; if ( tc . isEntryEnabled ( ) ) Tr . exit ( this , tc , "getMetaData" , "Exception" ) ; throw WSJdbcUtil . mapException ( this , ex ) ; } catch ( NullPointerException nullX ) { // No FFDC code needed; we might be closed. if ( tc . isEntryEnabled ( ) ) Tr . exit ( this , tc , "getMetaData" , "Exception" ) ; throw runtimeXIfNotClosed ( nullX ) ; } if ( tc . isEntryEnabled ( ) ) Tr . exit ( this , tc , "getMetaData" , rsetMData ) ; return rsetMData ; }
Retrieves the number types and properties of a ResultSet s columns .