Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class java.sql.Types

java.lang.Object
    |
    +----java.sql.Types

public class Types
extends Object

This class defines constants that are used to identify SQL types. The actual type constant values are equivalent to those in XOPEN.


Field Summary
static int  ARRAY_LOCATOR
 
static int  BIGINT
 
static int  BINARY
 
static int  BIT
 
static int  BLOB_LOCATOR
 
static int  CHAR
 
static int  CLOB_LOCATOR
 
static int  DATE
 
static int  DECIMAL
 
static int  DISTINCT
 
static int  DOUBLE
 
static int  FLOAT
 
static int  INTEGER
 
static int  JAVA_OBJECT
JDBC 2.0 These codes are for user-defined data types (UDTs).
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 which can be accessed via getObject and setObject.
static int  REAL
 
static int  REF
 
static int  SMALLINT
 
static int  STRUCT
 
static int  STRUCT_LOCATOR
 
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

BIT

public static final int BIT

TINYINT

public static final int TINYINT

SMALLINT

public static final int SMALLINT

INTEGER

public static final int INTEGER

BIGINT

public static final int BIGINT

FLOAT

public static final int FLOAT

REAL

public static final int REAL

DOUBLE

public static final int DOUBLE

NUMERIC

public static final int NUMERIC

DECIMAL

public static final int DECIMAL

CHAR

public static final int CHAR

VARCHAR

public static final int VARCHAR

LONGVARCHAR

public static final int LONGVARCHAR

DATE

public static final int DATE

TIME

public static final int TIME

TIMESTAMP

public static final int TIMESTAMP

BINARY

public static final int BINARY

VARBINARY

public static final int VARBINARY

LONGVARBINARY

public static final int LONGVARBINARY

NULL

public static final int NULL

OTHER

public static final int OTHER
OTHER indicates that the SQL type is database specific and gets mapped to a Java object which can be accessed via getObject and setObject.

JAVA_OBJECT

public static final int JAVA_OBJECT
JDBC 2.0 These codes are for user-defined data types (UDTs).

DISTINCT

public static final int DISTINCT

STRUCT

public static final int STRUCT

REF

public static final int REF

STRUCT_LOCATOR

public static final int STRUCT_LOCATOR

ARRAY_LOCATOR

public static final int ARRAY_LOCATOR

BLOB_LOCATOR

public static final int BLOB_LOCATOR

CLOB_LOCATOR

public static final int CLOB_LOCATOR

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.