public
class
Types
extends Object
java.lang.Object | |
↳ | java.sql.Types |
The class that defines the constants that are used to identify generic SQL types, called JDBC types.
This class is never instantiated.
Constants | |
---|---|
int |
ARRAY
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
|
int |
BIGINT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
BINARY
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
BIT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
BLOB
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
|
int |
BOOLEAN
The constant in the Java programming language, somtimes referred to
as a type code, that identifies the generic SQL type |
int |
CHAR
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
CLOB
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
|
int |
DATALINK
The constant in the Java programming language, somtimes referred to
as a type code, that identifies the generic SQL type |
int |
DATE
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
DECIMAL
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
DISTINCT
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
|
int |
DOUBLE
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
FLOAT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
INTEGER
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
JAVA_OBJECT
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
|
int |
LONGNVARCHAR
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type |
int |
LONGVARBINARY
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
LONGVARCHAR
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
NCHAR
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type |
int |
NCLOB
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type |
int |
NULL
The constant in the Java programming language
that identifies the generic SQL value
|
int |
NUMERIC
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
NVARCHAR
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type |
int |
OTHER
The constant in the Java programming language that indicates
that the SQL type is database-specific and
gets mapped to a Java object that can be accessed via
the methods |
int |
REAL
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
REF
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
|
int |
ROWID
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type |
int |
SMALLINT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
SQLXML
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type |
int |
STRUCT
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
|
int |
TIME
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
TIMESTAMP
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
TINYINT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
VARBINARY
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
int |
VARCHAR
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
int ARRAY
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
ARRAY
.
Constant Value: 2003 (0x000007d3)
int BIGINT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
BIGINT
.
Constant Value: -5 (0xfffffffb)
int BINARY
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
BINARY
.
Constant Value: -2 (0xfffffffe)
int BIT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
BIT
.
Constant Value: -7 (0xfffffff9)
int BLOB
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
BLOB
.
Constant Value: 2004 (0x000007d4)
int BOOLEAN
The constant in the Java programming language, somtimes referred to
as a type code, that identifies the generic SQL type BOOLEAN
.
Constant Value: 16 (0x00000010)
int CHAR
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
CHAR
.
Constant Value: 1 (0x00000001)
int CLOB
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
CLOB
.
Constant Value: 2005 (0x000007d5)
int DATALINK
The constant in the Java programming language, somtimes referred to
as a type code, that identifies the generic SQL type DATALINK
.
Constant Value: 70 (0x00000046)
int DATE
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
DATE
.
Constant Value: 91 (0x0000005b)
int DECIMAL
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
DECIMAL
.
Constant Value: 3 (0x00000003)
int DISTINCT
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
DISTINCT
.
Constant Value: 2001 (0x000007d1)
int DOUBLE
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
DOUBLE
.
Constant Value: 8 (0x00000008)
int FLOAT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
FLOAT
.
Constant Value: 6 (0x00000006)
int INTEGER
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
INTEGER
.
Constant Value: 4 (0x00000004)
int JAVA_OBJECT
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
JAVA_OBJECT
.
Constant Value: 2000 (0x000007d0)
int LONGNVARCHAR
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type LONGNVARCHAR
.
Constant Value: -16 (0xfffffff0)
int LONGVARBINARY
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
LONGVARBINARY
.
Constant Value: -4 (0xfffffffc)
int LONGVARCHAR
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
LONGVARCHAR
.
Constant Value: -1 (0xffffffff)
int NCHAR
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type NCHAR
Constant Value: -15 (0xfffffff1)
int NCLOB
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type NCLOB
.
Constant Value: 2011 (0x000007db)
int NULL
The constant in the Java programming language
that identifies the generic SQL value
NULL
.
Constant Value: 0 (0x00000000)
int NUMERIC
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
NUMERIC
.
Constant Value: 2 (0x00000002)
int NVARCHAR
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type NVARCHAR
.
Constant Value: -9 (0xfffffff7)
int OTHER
The constant in the Java programming language that 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
.
Constant Value: 1111 (0x00000457)
int REAL
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
REAL
.
Constant Value: 7 (0x00000007)
int REF
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
REF
.
Constant Value: 2006 (0x000007d6)
int ROWID
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type ROWID
Constant Value: -8 (0xfffffff8)
int SMALLINT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
SMALLINT
.
Constant Value: 5 (0x00000005)
int SQLXML
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type XML
.
Constant Value: 2009 (0x000007d9)
int STRUCT
The constant in the Java programming language, sometimes referred to
as a type code, that identifies the generic SQL type
STRUCT
.
Constant Value: 2002 (0x000007d2)
int TIME
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
TIME
.
Constant Value: 92 (0x0000005c)
int TIMESTAMP
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
TIMESTAMP
.
Constant Value: 93 (0x0000005d)
int TINYINT
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
TINYINT
.
Constant Value: -6 (0xfffffffa)
int VARBINARY
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
VARBINARY
.
Constant Value: -3 (0xfffffffd)
int VARCHAR
The constant in the Java programming language, sometimes referred
to as a type code, that identifies the generic SQL type
VARCHAR
.
Constant Value: 12 (0x0000000c)