The class that defines the constants that are used to identify generic SQL types, called JDBC types.
This class is never instantiated.
- Since:
- 1.1
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIGINT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBINARY
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBIT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBOOLEAN
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCHAR
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATALINK
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATE
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDECIMAL
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDOUBLE
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeFLOAT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeINTEGER
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJAVA_OBJECT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARBINARY
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGVARCHAR
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHAR
static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB
.static int
The constant in the Java programming language that identifies the generic SQL valueNULL
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNUMERIC
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR
.static int
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 methodsgetObject
andsetObject
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREAL
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF CURSOR
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWID
static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSMALLINT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME WITH TIMEZONE
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP WITH TIMEZONE
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTINYINT
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARBINARY
.static int
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeVARCHAR
. -
Method Summary
-
Field Details
-
BIT
public static final int BITThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIT
.- See Also:
- Constant Field Values
-
TINYINT
public static final int TINYINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TINYINT
.- See Also:
- Constant Field Values
-
SMALLINT
public static final int SMALLINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
SMALLINT
.- See Also:
- Constant Field Values
-
INTEGER
public static final int INTEGERThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
INTEGER
.- See Also:
- Constant Field Values
-
BIGINT
public static final int BIGINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BIGINT
.- See Also:
- Constant Field Values
-
FLOAT
public static final int FLOATThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
FLOAT
.- See Also:
- Constant Field Values
-
REAL
public static final int REALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
REAL
.- See Also:
- Constant Field Values
-
DOUBLE
public static final int DOUBLEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DOUBLE
.- See Also:
- Constant Field Values
-
NUMERIC
public static final int NUMERICThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
NUMERIC
.- See Also:
- Constant Field Values
-
DECIMAL
public static final int DECIMALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DECIMAL
.- See Also:
- Constant Field Values
-
CHAR
public static final int CHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
CHAR
.- See Also:
- Constant Field Values
-
VARCHAR
public static final int VARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARCHAR
.- See Also:
- Constant Field Values
-
LONGVARCHAR
public static final int LONGVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARCHAR
.- See Also:
- Constant Field Values
-
DATE
public static final int DATEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
DATE
.- See Also:
- Constant Field Values
-
TIME
public static final int TIMEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIME
.- See Also:
- Constant Field Values
-
TIMESTAMP
public static final int TIMESTAMPThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
TIMESTAMP
.- See Also:
- Constant Field Values
-
BINARY
public static final int BINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
BINARY
.- See Also:
- Constant Field Values
-
VARBINARY
public static final int VARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
VARBINARY
.- See Also:
- Constant Field Values
-
LONGVARBINARY
public static final int LONGVARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type
LONGVARBINARY
.- See Also:
- Constant Field Values
-
NULL
public static final int NULLThe constant in the Java programming language that identifies the generic SQL value
NULL
.- See Also:
- Constant Field Values
-
OTHER
public static final int OTHERThe 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 methodsgetObject
andsetObject
.- See Also:
- Constant Field Values
-
JAVA_OBJECT
public static final int JAVA_OBJECTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeJAVA_OBJECT
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
DISTINCT
public static final int DISTINCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDISTINCT
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
STRUCT
public static final int STRUCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeSTRUCT
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
ARRAY
public static final int ARRAYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeARRAY
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
BLOB
public static final int BLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBLOB
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
CLOB
public static final int CLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeCLOB
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
REF
public static final int REFThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF
.- Since:
- 1.2
- See Also:
- Constant Field Values
-
DATALINK
public static final int DATALINKThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeDATALINK
.- Since:
- 1.4
- See Also:
- Constant Field Values
-
BOOLEAN
public static final int BOOLEANThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeBOOLEAN
.- Since:
- 1.4
- See Also:
- Constant Field Values
-
ROWID
public static final int ROWIDThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeROWID
- Since:
- 1.6
- See Also:
- Constant Field Values
-
NCHAR
public static final int NCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCHAR
- Since:
- 1.6
- See Also:
- Constant Field Values
-
NVARCHAR
public static final int NVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNVARCHAR
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
LONGNVARCHAR
public static final int LONGNVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeLONGNVARCHAR
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
NCLOB
public static final int NCLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeNCLOB
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
SQLXML
public static final int SQLXMLThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeXML
.- Since:
- 1.6
- See Also:
- Constant Field Values
-
REF_CURSOR
public static final int REF_CURSORThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeREF CURSOR
.- Since:
- 1.8
- See Also:
- Constant Field Values
-
TIME_WITH_TIMEZONE
public static final int TIME_WITH_TIMEZONEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIME WITH TIMEZONE
.- Since:
- 1.8
- See Also:
- Constant Field Values
-
TIMESTAMP_WITH_TIMEZONE
public static final int TIMESTAMP_WITH_TIMEZONEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL typeTIMESTAMP WITH TIMEZONE
.- Since:
- 1.8
- See Also:
- Constant Field Values
-