Logo Search packages:      
Sourcecode: mysql-connector-java version File versions

String com::mysql::jdbc::ResultSetMetaData::getColumnName ( int  column  )  throws SQLException [inline]

What's a column's name?

Parameters:
column the first column is 1, the second is 2, etc.
Returns:
the column name
Exceptions:
SQLException if a databvase access error occurs

Definition at line 352 of file ResultSetMetaData.java.

References getField(), and com::mysql::jdbc::Field::getName().

Referenced by getColumnLabel().

                                                                {
        return getField(column).getName();
    }


Generated by  Doxygen 1.6.0   Back to index