Class java.sql.Types
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.sql.Types

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.


Variable Index

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

Variables

 o BIGINT
public static final int BIGINT
 o BINARY
public static final int BINARY
 o BIT
public static final int BIT
 o CHAR
public static final int CHAR
 o DATE
public static final int DATE
 o DECIMAL
public static final int DECIMAL
 o DOUBLE
public static final int DOUBLE
 o FLOAT
public static final int FLOAT
 o INTEGER
public static final int INTEGER
 o LONGVARBINARY
public static final int LONGVARBINARY
 o LONGVARCHAR
public static final int LONGVARCHAR
 o NULL
public static final int NULL
 o NUMERIC
public static final int NUMERIC
 o 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.

 o REAL
public static final int REAL
 o SMALLINT
public static final int SMALLINT
 o TIME
public static final int TIME
 o TIMESTAMP
public static final int TIMESTAMP
 o TINYINT
public static final int TINYINT
 o VARBINARY
public static final int VARBINARY
 o VARCHAR
public static final int VARCHAR

All Packages  Class Hierarchy  This Package  Previous  Next  Index