public enum JdbcType extends Enum<JdbcType>
Enum Constant and Description |
---|
ARRAY
Not supported
|
BIGINT |
BINARY |
BIT |
BLOB |
BOOLEAN |
CHAR |
CLOB |
DATALINK
Not supported
|
DATE |
DECIMAL |
DISTINCT
Not supported
|
DOUBLE |
FLOAT |
INTEGER |
JAVA_OBJECT |
LONGNVARCHAR |
LONGVARBINARY |
LONGVARCHAR |
NCHAR |
NCLOB |
NULL
Not supported
|
NUMERIC |
NVARCHAR |
OTHER
Not supported
|
REAL |
REF |
ROW_ID |
SMALLINT |
SQLXML |
STRUCT
Not supported
|
TIME |
TIMESTAMP |
TINYINT |
VARBINARY |
VARCHAR |
Modifier and Type | Method and Description |
---|---|
static JdbcType |
fromJdbcName(String name) |
static JdbcType |
fromJdbcType(int jdbcType) |
String |
getFullName() |
int |
getJdbcType() |
String |
getName() |
boolean |
isNumeric() |
boolean |
isString() |
boolean |
isStringOrChar() |
boolean |
isTemporal() |
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 BIGINT
public static final JdbcType BINARY
public static final JdbcType BIT
public static final JdbcType BLOB
public static final JdbcType BOOLEAN
public static final JdbcType CHAR
public static final JdbcType CLOB
public static final JdbcType DATALINK
public static final JdbcType DATE
public static final JdbcType DECIMAL
public static final JdbcType DISTINCT
public static final JdbcType DOUBLE
public static final JdbcType FLOAT
public static final JdbcType INTEGER
public static final JdbcType JAVA_OBJECT
public static final JdbcType LONGVARBINARY
public static final JdbcType LONGVARCHAR
public static final JdbcType NUMERIC
public static final JdbcType OTHER
public static final JdbcType REAL
public static final JdbcType REF
public static final JdbcType SMALLINT
public static final JdbcType STRUCT
public static final JdbcType TIME
public static final JdbcType TIMESTAMP
public static final JdbcType TINYINT
public static final JdbcType VARBINARY
public static final JdbcType VARCHAR
public static final JdbcType ROW_ID
public static final JdbcType LONGNVARCHAR
public static final JdbcType NCHAR
public static final JdbcType NCLOB
public static final JdbcType NVARCHAR
public static final JdbcType NULL
public static final JdbcType SQLXML
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 int getJdbcType()
public String getName()
public String getFullName()
public static JdbcType fromJdbcType(int jdbcType)
public boolean isString()
public boolean isStringOrChar()
public boolean isNumeric()
public boolean isTemporal()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.