Package Summary Overview Summary |
Enum Constant and Description |
---|
ARRAY
Identifies the generic SQL type
ARRAY . |
BIGINT
Identifies the generic SQL type
BIGINT . |
BINARY
Identifies the generic SQL type
BINARY . |
BIT
Identifies the generic SQL type
BIT . |
BLOB
Identifies the generic SQL type
BLOB . |
BOOLEAN
Identifies the generic SQL type
BOOLEAN . |
CHAR
Identifies the generic SQL type
CHAR . |
CLOB
Identifies the generic SQL type
CLOB . |
DATALINK
Identifies the generic SQL type
DATALINK . |
DATE
Identifies the generic SQL type
DATE . |
DECIMAL
Identifies the generic SQL type
DECIMAL . |
DISTINCT
Identifies the generic SQL type
DISTINCT . |
DOUBLE
Identifies the generic SQL type
DOUBLE . |
FLOAT
Identifies the generic SQL type
FLOAT . |
INTEGER
Identifies the generic SQL type
INTEGER . |
JAVA_OBJECT
Indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methods getObject and setObject.
|
LONGNVARCHAR
Identifies the generic SQL type
LONGNVARCHAR . |
LONGVARBINARY
Identifies the generic SQL type
LONGVARBINARY . |
LONGVARCHAR
Identifies the generic SQL type
LONGVARCHAR . |
NCHAR
Identifies the generic SQL type
NCHAR . |
NCLOB
Identifies the generic SQL type
NCLOB . |
NULL
Identifies the generic SQL value
NULL . |
NUMERIC
Identifies the generic SQL type
NUMERIC . |
NVARCHAR
Identifies the generic SQL type
NVARCHAR . |
OTHER
Indicates that the SQL type is database-specific and gets mapped to a Java object that can be accessed via the methods getObject and setObject.
|
REAL
Identifies the generic SQL type
REAL . |
REF
Identifies the generic SQL type
REF . |
REF_CURSOR
Identifies the generic SQL type
REF_CURSOR . |
ROWID
Identifies the SQL type
ROWID . |
SMALLINT
Identifies the generic SQL type
SMALLINT . |
SQLXML
Identifies the generic SQL type
SQLXML . |
STRUCT
Identifies the generic SQL type
STRUCT . |
TIME
Identifies the generic SQL type
TIME . |
TIMESTAMP
Identifies the generic SQL type
TIMESTAMP . |
TINYINT
Identifies the generic SQL type
TINYINT . |
VARBINARY
Identifies the generic SQL type
VARBINARY . |
VARCHAR
Identifies the generic SQL type
VARCHAR . |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getName()
Returns the name of the data type.
|
java.lang.String | getVendor()
Returns the name of the vendor that supports this data type.
|
java.lang.Integer | getVendorTypeNumber()
Returns the vendor specific type number for the data type.
|
static JDBCTypes | valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JDBCTypes[] | values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final JDBCTypes BIT
BIT
. public static final JDBCTypes TINYINT
TINYINT
. public static final JDBCTypes SMALLINT
SMALLINT
. public static final JDBCTypes INTEGER
INTEGER
. public static final JDBCTypes BIGINT
BIGINT
. public static final JDBCTypes FLOAT
FLOAT
. public static final JDBCTypes REAL
REAL
. public static final JDBCTypes DOUBLE
DOUBLE
. public static final JDBCTypes NUMERIC
NUMERIC
. public static final JDBCTypes DECIMAL
DECIMAL
. public static final JDBCTypes CHAR
CHAR
. public static final JDBCTypes VARCHAR
VARCHAR
. public static final JDBCTypes LONGVARCHAR
LONGVARCHAR
. public static final JDBCTypes DATE
DATE
. public static final JDBCTypes TIME
TIME
. public static final JDBCTypes TIMESTAMP
TIMESTAMP
. public static final JDBCTypes BINARY
BINARY
. public static final JDBCTypes VARBINARY
VARBINARY
. public static final JDBCTypes LONGVARBINARY
LONGVARBINARY
. public static final JDBCTypes NULL
NULL
. public static final JDBCTypes OTHER
public static final JDBCTypes JAVA_OBJECT
public static final JDBCTypes DISTINCT
DISTINCT
. public static final JDBCTypes STRUCT
STRUCT
. public static final JDBCTypes ARRAY
ARRAY
. public static final JDBCTypes BLOB
BLOB
. public static final JDBCTypes CLOB
CLOB
. public static final JDBCTypes REF
REF
. public static final JDBCTypes DATALINK
DATALINK
. public static final JDBCTypes BOOLEAN
BOOLEAN
. public static final JDBCTypes ROWID
ROWID
. public static final JDBCTypes NCHAR
NCHAR
. public static final JDBCTypes NVARCHAR
NVARCHAR
. public static final JDBCTypes LONGNVARCHAR
LONGNVARCHAR
. public static final JDBCTypes NCLOB
NCLOB
. public static final JDBCTypes SQLXML
SQLXML
. public static final JDBCTypes REF_CURSOR
REF_CURSOR
. public static JDBCTypes[] values()
for (JDBCTypes c : JDBCTypes.values()) System.out.println(c);
public static JDBCTypes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned. java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name java.lang.NullPointerException
- if the argument is null public java.lang.String getName()
public java.lang.String getVendor()
public java.lang.Integer getVendorTypeNumber()
getVendorTypeNumber
in interface SQLType
JDBCTypes
, the value will be the same value as in Types
for the data type.