public enum JdbcType extends Enum<JdbcType>
Types
Enum Constant and Description |
---|
ARRAY |
BIGINT |
BINARY |
BIT |
BLOB |
BOOLEAN |
CHAR |
CLOB |
CURSOR |
DATALINK |
DATE |
DATETIMEOFFSET |
DECIMAL |
DISTINCT |
DOUBLE |
FLOAT |
INTEGER |
JAVA_OBJECT |
LONGNVARCHAR |
LONGVARBINARY |
LONGVARCHAR |
NCHAR |
NCLOB |
NULL |
NUMERIC |
NVARCHAR |
OTHER |
REAL |
REF |
ROWID |
SMALLINT |
SQLXML |
STRUCT |
TIME |
TIME_WITH_TIMEZONE |
TIMESTAMP |
TIMESTAMP_WITH_TIMEZONE |
TINYINT |
UNDEFINED |
VARBINARY |
VARCHAR |
Modifier and Type | Field and Description |
---|---|
int |
typeCode |
Modifier and Type | Method and Description |
---|---|
static JdbcType |
valueOf(int code)
通过
Types 中对应int值找到enum值 |
static JdbcType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JdbcType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JdbcType ARRAY
public static final JdbcType BIT
public static final JdbcType TINYINT
public static final JdbcType SMALLINT
public static final JdbcType INTEGER
public static final JdbcType BIGINT
public static final JdbcType FLOAT
public static final JdbcType REAL
public static final JdbcType DOUBLE
public static final JdbcType NUMERIC
public static final JdbcType DECIMAL
public static final JdbcType CHAR
public static final JdbcType VARCHAR
public static final JdbcType LONGVARCHAR
public static final JdbcType DATE
public static final JdbcType TIME
public static final JdbcType TIMESTAMP
public static final JdbcType BINARY
public static final JdbcType VARBINARY
public static final JdbcType LONGVARBINARY
public static final JdbcType NULL
public static final JdbcType OTHER
public static final JdbcType BLOB
public static final JdbcType CLOB
public static final JdbcType BOOLEAN
public static final JdbcType CURSOR
public static final JdbcType UNDEFINED
public static final JdbcType NVARCHAR
public static final JdbcType NCHAR
public static final JdbcType NCLOB
public static final JdbcType STRUCT
public static final JdbcType JAVA_OBJECT
public static final JdbcType DISTINCT
public static final JdbcType REF
public static final JdbcType DATALINK
public static final JdbcType ROWID
public static final JdbcType LONGNVARCHAR
public static final JdbcType SQLXML
public static final JdbcType DATETIMEOFFSET
public static final JdbcType TIME_WITH_TIMEZONE
public static final JdbcType TIMESTAMP_WITH_TIMEZONE
public static JdbcType[] values()
for (JdbcType c : JdbcType.values()) System.out.println(c);
public static JdbcType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2024. All rights reserved.