| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.sql.Types
public class Types
The class that defines the constants that are used to identify generic SQL types, called JDBC types. The actual type constant values are equivalent to those in XOPEN.
This class is never instantiated.
| Field Summary | |
|---|---|
| static int | ARRAYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY. | 
| static int | BIGINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIGINT. | 
| static int | BINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY. | 
| static int | BITThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIT. | 
| static int | BLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB. | 
| static int | BOOLEANThe constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type BOOLEAN. | 
| static int | CHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR. | 
| static int | CLOBThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CLOB. | 
| static int | DATALINKThe constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type DATALINK. | 
| static int | DATEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATE. | 
| static int | DECIMALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DECIMAL. | 
| static int | DISTINCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT. | 
| static int | DOUBLEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE. | 
| static int | FLOATThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT. | 
| static int | INTEGERThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER. | 
| static int | JAVA_OBJECTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type JAVA_OBJECT. | 
| static int | LONGVARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARBINARY. | 
| static int | LONGVARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARCHAR. | 
| static int | NULLThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NULL. | 
| static int | NUMERICThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NUMERIC. | 
| static 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 methods getObjectandsetObject. | 
| static int | REALThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL. | 
| static int | REFThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF. | 
| static int | SMALLINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type SMALLINT. | 
| static int | STRUCTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT. | 
| static int | TIMEThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME. | 
| static int | TIMESTAMPThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP. | 
| static int | TINYINTThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TINYINT. | 
| static int | VARBINARYThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARBINARY. | 
| static int | VARCHARThe constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARCHAR. | 
| Method Summary | 
|---|
| 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
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 BIT.
public static final int TINYINT
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 TINYINT.
public static final int SMALLINT
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 SMALLINT.
public static final int INTEGER
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 INTEGER.
public static final int BIGINT
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 BIGINT.
public static final int FLOAT
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 FLOAT.
public static final int REAL
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 REAL.
public static final int DOUBLE
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 DOUBLE.
public static final int NUMERIC
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 NUMERIC.
public static final int DECIMAL
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 DECIMAL.
public static final int CHAR
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 CHAR.
public static final int VARCHAR
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 VARCHAR.
public static final int LONGVARCHAR
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 LONGVARCHAR.
public static final int DATE
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 DATE.
public static final int TIME
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 TIME.
public static final int TIMESTAMP
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 TIMESTAMP.
public static final int BINARY
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 BINARY.
public static final int VARBINARY
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 VARBINARY.
public static final int LONGVARBINARY
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 LONGVARBINARY.
public static final int NULL
The constant in the Java programming language, sometimes referred
 to as a type code, that identifies the generic SQL type 
 NULL.
public static final int OTHER
getObject and setObject.
public static final int JAVA_OBJECT
JAVA_OBJECT.
public static final int DISTINCT
DISTINCT.
public static final int STRUCT
STRUCT.
public static final int ARRAY
ARRAY.
public static final int BLOB
BLOB.
public static final int CLOB
CLOB.
public static final int REF
REF.
public static final int DATALINK
DATALINK.
public static final int BOOLEAN
BOOLEAN.
| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.