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

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

What is a column's SQL Type? (java.sql.Type int)

Parameters:
column the first column is 1, the second is 2, etc.
Returns:
the java.sql.Type value
Exceptions:
SQLException if a database access error occurs
See also:
java.sql.Types

Definition at line 367 of file ResultSetMetaData.java.

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

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


Generated by  Doxygen 1.6.0   Back to index