
RowSetMetaData
128
|
JDBC Pocket Reference
void setCaseSensitive(int columnIndex, boolean property)
If true, sets a column as case-sensitive.
void setCatalogName(int columnIndex, String catalogName)
Sets a column’s table’s catalog name.
void setColumnCount(int columnCount)
Sets the number of columns in the rowset.
void setColumnDisplaySize(int columnIndex, int size)
Sets a column’s maximum width in characters.
void setColumnLabel(int columnIndex, String label)
Sets a column’s heading.
void setColumnName(int columnIndex, String columnName)
Sets a column’s name.
void setColumnType(int columnIndex, int javaSqlType)
Sets a column’s java.sql.Types type.
void setColumnTypeName(int columnIndex, String typeName)
Sets a column’s data source specific–type name.
void setCurrency(int columnIndex, boolean property)
If true, sets the column as a currency value.
void setNullable(int columnIndex, int property)
Sets the column’s nullability; use one of the following
constants:
columnNoNulls
columnNullable
columnNullableUnknown
void setPrecision(int columnIndex, int precision)
Sets the number of decimal digits a column can have.
void setScale(int columnIndex, int scale)
Sets the number of digits to right of the decimal point that a
column can have.
void setSchemaName(int columnIndex, String schemaName)
Sets a column’s table’s schema.
void setSearchable(int columnIndex, boolean property)
If true, sets a column as one usable in a WHERE ...