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.


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


All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature