public enum JdbcType extends Enum<JdbcType>
Enum Constant and Description |
---|
ARRAY |
BIGINT |
BINARY |
BIT |
BLOB |
BOOLEAN |
CHAR |
CLOB |
CURSOR |
DATE |
DECIMAL |
DOUBLE |
FLOAT |
INTEGER |
LONGVARBINARY |
LONGVARCHAR |
NCHAR |
NCLOB |
NULL |
NUMERIC |
NVARCHAR |
OTHER |
REAL |
SMALLINT |
STRUCT |
TIME |
TIMESTAMP |
TINYINT |
UNDEFINED |
VARBINARY |
VARCHAR |
Modifier and Type | Field and Description |
---|---|
int |
TYPE_CODE |
Modifier and Type | Method and Description |
---|---|
static JdbcType |
forCode(int code) |
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 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 nullpublic static JdbcType forCode(int code)
Copyright © 2010–2015 MyBatis.org. All rights reserved.