This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.sql
class Types

java.lang.Object extended by java.sql.Types

public class Types
extends Object

The class that defines the constants that are used to identify generic SQL types, called JDBC types.

This class is never instantiated.


Field Summary
static int ARRAY
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY.
static int BIGINT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIGINT.
static int BINARY
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BINARY.
static int BIT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BIT.
static int BLOB
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB.
static int BOOLEAN
          The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type BOOLEAN.
static int CHAR
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CHAR.
static int CLOB
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CLOB.
static int DATALINK
          The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type DATALINK.
static int DATE
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATE.
static int DECIMAL
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DECIMAL.
static int DISTINCT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT.
static int DOUBLE
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DOUBLE.
static int FLOAT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type FLOAT.
static int INTEGER
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type INTEGER.
static int JAVA_OBJECT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type JAVA_OBJECT.
static int LONGNVARCHAR
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGNVARCHAR.
static int LONGVARBINARY
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARBINARY.
static int LONGVARCHAR
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGVARCHAR.
static int NCHAR
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NCHAR
static int NCLOB
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NCLOB.
static int NULL
          The constant in the Java programming language that identifies the generic SQL value NULL.
static int NUMERIC
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NUMERIC.
static int NVARCHAR
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NVARCHAR.
static int OTHER
          The 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 getObject and setObject.
static int REAL
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REAL.
static int REF
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF.
static int ROWID
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ROWID
static int SMALLINT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type SMALLINT.
static int SQLXML
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type XML.
static int STRUCT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT.
static int TIME
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME.
static int TIMESTAMP
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP.
static int TINYINT
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TINYINT.
static int VARBINARY
          The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type VARBINARY.
static int VARCHAR
          The 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

ARRAY

public static final int ARRAY
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ARRAY.

BIGINT

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.


BINARY

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.


BIT

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.


BLOB

public static final int BLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BLOB.

BOOLEAN

public static final int BOOLEAN
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type BOOLEAN.

CHAR

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.


CLOB

public static final int CLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type CLOB.

DATALINK

public static final int DATALINK
The constant in the Java programming language, somtimes referred to as a type code, that identifies the generic SQL type DATALINK.

DATE

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.


DECIMAL

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.


DISTINCT

public static final int DISTINCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DISTINCT.

DOUBLE

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.


FLOAT

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.


INTEGER

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.


JAVA_OBJECT

public static final int JAVA_OBJECT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type JAVA_OBJECT.

LONGNVARCHAR

public static final int LONGNVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type LONGNVARCHAR.

LONGVARBINARY

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.


LONGVARCHAR

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.


NCHAR

public static final int NCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NCHAR

NCLOB

public static final int NCLOB
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NCLOB.

NULL

public static final int NULL

The constant in the Java programming language that identifies the generic SQL value NULL.


NUMERIC

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.


NVARCHAR

public static final int NVARCHAR
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type NVARCHAR.

OTHER

public static final int OTHER
The 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 getObject and setObject.

REAL

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.


REF

public static final int REF
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF.

ROWID

public static final int ROWID
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type ROWID

SMALLINT

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.


SQLXML

public static final int SQLXML
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type XML.

STRUCT

public static final int STRUCT
The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type STRUCT.

TIME

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.


TIMESTAMP

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.


TINYINT

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.


VARBINARY

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.


VARCHAR

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.



This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.