Skip to Main Content
JDBC Pocket Reference
book

JDBC Pocket Reference

by Donald Bales
January 2003
Intermediate to advanced content levelIntermediate to advanced
176 pages
5h 3m
English
O'Reilly Media, Inc.
Content preview from JDBC Pocket Reference
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro Couchbase Server, Second Edition

Pro Couchbase Server, Second Edition

David Ostrovsky, Mohammed Haji, Yaniv Rodenski
Pro Couchbase Server

Pro Couchbase Server

David Ostrovsky, Yaniv Rodenski

Publisher Resources

ISBN: 9780596528713