    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# 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.

##

BIGINT
BINARY
BIT
CHAR
DATE
DECIMAL
DOUBLE
FLOAT
INTEGER
LONGVARBINARY
LONGVARCHAR
NULL
NUMERIC
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.
REAL
SMALLINT
TIME
TIMESTAMP
TINYINT
VARBINARY
VARCHAR

##

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.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index

Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.