public static interface JDBCColumnPositions.COLUMNS
This class contains constants representing column positions on ResultSet returned by getColumns method on DatabaseMetaData.
The class has constants for columns whose values are to be hardcoded in MMDatabaseMetaData object. MAX_COLUMNS
is the number of columns to be read from server's results from getElements method on Metadata object
.
JAVA_CLASS
is the column position for element data type on server's Results object.
Modifier and Type | Field and Description |
---|---|
static int |
BUFFER_LENGTH
Position of column that is not used will contain nulls
|
static int |
CHAR_OCTET_LENGTH |
static int |
COLUMN_DEF |
static int |
COLUMN_NAME |
static int |
COLUMN_SIZE |
static int |
DATA_TYPE
Position of column that contains SQL type from java.sql.Types for column's data type.
|
static int |
DECIMAL_DIGITS |
static int |
IS_AUTOINCREMENT |
static int |
IS_NULLABLE
Position of column that has an String value indicating nullablity
|
static int |
MAX_COLUMNS
Number of columns to be read from results returned getElements method.
|
static int |
NULLABLE
Position of column that has an int value indicating nullablity
|
static int |
NUM_PREC_RADIX |
static int |
ORDINAL_POSITION |
static int |
REMARKS
Position of column containing explanatory notes.
|
static int |
SCOPE_CATALOG |
static int |
SCOPE_SCHEMA |
static int |
SCOPE_TABLE |
static int |
SOURCE_DATA_TYPE |
static int |
SQL_DATA_TYPE
Position of column that not used will contain nulls
|
static int |
SQL_DATETIME_SUB
Position of column that not used will contain nulls
|
static int |
TABLE_CAT
Position of column that contains catalog name in which the table for the column is present.
|
static int |
TABLE_NAME |
static int |
TABLE_SCHEM |
static int |
TYPE_NAME
Position of column that contains local type name used by the data source.
|
static final int MAX_COLUMNS
static final int TABLE_CAT
static final int TABLE_SCHEM
static final int TABLE_NAME
static final int COLUMN_NAME
static final int DATA_TYPE
static final int TYPE_NAME
static final int COLUMN_SIZE
static final int BUFFER_LENGTH
static final int DECIMAL_DIGITS
static final int NUM_PREC_RADIX
static final int NULLABLE
static final int REMARKS
static final int COLUMN_DEF
static final int SQL_DATA_TYPE
static final int SQL_DATETIME_SUB
static final int CHAR_OCTET_LENGTH
static final int ORDINAL_POSITION
static final int IS_NULLABLE
static final int SCOPE_CATALOG
static final int SCOPE_SCHEMA
static final int SCOPE_TABLE
static final int SOURCE_DATA_TYPE
static final int IS_AUTOINCREMENT
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.