Package java.sql

Class Types

java.lang.Object
java.sql.Types

public class Types
extends Object
A class which defines constants used to identify generic SQL types, also called JDBC types. The type constant values are equivalent to those defined by X/OPEN.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int ARRAY
    The type code that identifies the SQL type ARRAY.
    static int BIGINT
    The type code that identifies the SQL type BIGINT.
    static int BINARY
    The type code that identifies the SQL type BINARY.
    static int BIT
    The type code that identifies the SQL type BIT.
    static int BLOB
    The type code that identifies the SQL type BLOB.
    static int BOOLEAN
    The type code that identifies the SQL type BOOLEAN.
    static int CHAR
    The type code that identifies the SQL type CHAR.
    static int CLOB
    The type code that identifies the SQL type CLOB.
    static int DATALINK
    The type code that identifies the SQL type DATALINK.
    static int DATE
    The type code that identifies the SQL type DATE.
    static int DECIMAL
    The type code that identifies the SQL type DECIMAL.
    static int DISTINCT
    The type code that identifies the SQL type DISTINCT.
    static int DOUBLE
    The type code that identifies the SQL type DOUBLE.
    static int FLOAT
    The type code that identifies the SQL type FLOAT.
    static int INTEGER
    The type code that identifies the SQL type INTEGER.
    static int JAVA_OBJECT
    The type code that identifies the SQL type JAVA_OBJECT.
    static int LONGNVARCHAR
    The type code that identifies the SQL type LONGNVARCHAR.
    static int LONGVARBINARY
    The type code that identifies the SQL type LONGVARBINARY.
    static int LONGVARCHAR
    The type code that identifies the SQL type LONGVARCHAR.
    static int NCHAR
    The type code that identifies the SQL type NCHAR.
    static int NCLOB
    The type code that identifies the SQL type NCLOB.
    static int NULL
    The type code that identifies the SQL type NULL.
    static int NUMERIC
    The type code that identifies the SQL type NUMERIC.
    static int NVARCHAR
    The type code that identifies the SQL type NVARCHAR.
    static int OTHER
    The type code that identifies that the SQL type is database specific and is mapped to a Java object, accessed via the methods getObject and setObject.
    static int REAL
    The type code that identifies the SQL type REAL.
    static int REF
    The type code that identifies the SQL type REF.
    static int ROWID
    The type code that identifies the SQL type ROWID.
    static int SMALLINT
    The type code that identifies the SQL type SMALLINT.
    static int SQLXML
    The type code that identifies the SQL type SQLXML.
    static int STRUCT
    The type code that identifies the SQL type STRUCT.
    static int TIME
    The type code that identifies the SQL type TIME.
    static int TIMESTAMP
    The type code that identifies the SQL type TIMESTAMP.
    static int TINYINT
    The type code that identifies the SQL type TINYINT.
    static int VARBINARY
    The type code that identifies the SQL type VARBINARY.
    static int VARCHAR
    The type code that identifies the SQL type VARCHAR.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait