|
Java Platform 1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.sql.Types
The class that defines constants that are used to identify generic SQL types, called JDBC types. The actual type constant values are equivalent to those in XOPEN.
Field Summary | |
static int |
ARRAY
JDBC 2.0 A type representing an SQL ARRAY. |
static int |
BIGINT
|
static int |
BINARY
|
static int |
BIT
|
static int |
BLOB
JDBC 2.0 A type representing an SQL Binary Large Object. |
static int |
CHAR
|
static int |
CLOB
JDBC 2.0 A type representing an SQL Character Large Object. |
static int |
DATE
|
static int |
DECIMAL
|
static int |
DISTINCT
JDBC 2.0 A type based on a built-in type. |
static int |
DOUBLE
|
static int |
FLOAT
|
static int |
INTEGER
|
static int |
JAVA_OBJECT
JDBC 2.0 A type representing a Java Object. |
static int |
LONGVARBINARY
|
static int |
LONGVARCHAR
|
static int |
NULL
|
static int |
NUMERIC
|
static int |
OTHER
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 . |
static int |
REAL
|
static int |
REF
JDBC 2.0 A type representing an SQL REF |
static int |
SMALLINT
|
static int |
STRUCT
JDBC 2.0 A type consisting of attributes that may be any type. |
static int |
TIME
|
static int |
TIMESTAMP
|
static int |
TINYINT
|
static int |
VARBINARY
|
static int |
VARCHAR
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int BIT
public static final int TINYINT
public static final int SMALLINT
public static final int INTEGER
public static final int BIGINT
public static final int FLOAT
public static final int REAL
public static final int DOUBLE
public static final int NUMERIC
public static final int DECIMAL
public static final int CHAR
public static final int VARCHAR
public static final int LONGVARCHAR
public static final int DATE
public static final int TIME
public static final int TIMESTAMP
public static final int BINARY
public static final int VARBINARY
public static final int LONGVARBINARY
public static final int NULL
public static final int OTHER
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
.public static final int JAVA_OBJECT
public static final int DISTINCT
public static final int STRUCT
public static final int ARRAY
public static final int BLOB
public static final int CLOB
public static final int REF
|
Java Platform 1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |