java.sql.ResultSetMetaData is an interface for describing ResultSet objects.
Description
java.sql.ResultSetMetaData can be used to get information about the types and properties of the columns in a ResultSet object.
Methods
| Method | Return type | JDBC 4 supported in Oracle mode | JDBC 4 supported in MySQL mode |
|---|---|---|---|
| getColumnCount() | int | Yes | Yes |
| isAutoIncrement(int column) | Boolean | Yes | Yes |
| isCaseSensitive(int column) | Boolean | Yes | Yes |
| isNullable(int column) | int | Yes | Yes |
| isSigned(int column) | Boolean | Yes | Yes |
| getColumnDisplaySize(int column) | int | Yes | Yes |
| getColumnLabel(int column) | String | Yes | Yes |
| getColumnName(int column) | String | Yes | Yes |
| getCatalogName(int column) | String | Yes | Yes |
| getPrecision(int column) | int | Yes | Yes |
| getScale(int column) | int | Yes | Yes |
| getTableName(int column) | String | Yes | Yes |
| getSchemaName(int column) | String | Yes | Yes |
| getColumnType(int column) | int | Yes | Yes |
| getColumnTypeName(int column) | String | Yes | Yes |
| isReadOnly(int column) | Boolean | Yes | Yes |
| isWritable(int column) | Boolean | Yes | Yes |
| isDefinitelyWritable(int column) | Boolean | Yes | Yes |
| getColumnClassName(int column) | String | Yes | Yes |