Package Summary  Overview Summary

class:Types [NONE]


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.

Since:
1.1

field:BIT [NONE]

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

    See Also:
    Constant Field Values
  • field:TINYINT [NONE]

    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.

    See Also:
    Constant Field Values

    field:SMALLINT [NONE]

    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.

    See Also:
    Constant Field Values

    field:INTEGER [NONE]

    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.

    See Also:
    Constant Field Values

    field:BIGINT [NONE]

    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.

    See Also:
    Constant Field Values

    field:FLOAT [NONE]

    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.

    See Also:
    Constant Field Values

    field:REAL [NONE]

    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.

    See Also:
    Constant Field Values

    field:DOUBLE [NONE]

    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.

    See Also:
    Constant Field Values

    field:NUMERIC [NONE]

    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.

    See Also:
    Constant Field Values

    field:DECIMAL [NONE]

    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.

    See Also:
    Constant Field Values

    field:CHAR [NONE]

    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.

    See Also:
    Constant Field Values

    field:VARCHAR [NONE]

    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.

    See Also:
    Constant Field Values

    field:LONGVARCHAR [NONE]

    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.

    See Also:
    Constant Field Values

    field:DATE [NONE]

    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.

    See Also:
    Constant Field Values

    field:TIME [NONE]

    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.

    See Also:
    Constant Field Values

    field:TIMESTAMP [NONE]

    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.

    See Also:
    Constant Field Values

    field:BINARY [NONE]

    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.

    See Also:
    Constant Field Values

    field:VARBINARY [NONE]

    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.

    See Also:
    Constant Field Values

    field:LONGVARBINARY [NONE]

    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.

    See Also:
    Constant Field Values

    field:NULL [NONE]

    NULL

    public static final  int NULL

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

    See Also:
    Constant Field Values

    field:OTHER [NONE]

    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.
    See Also:
    Constant Field Values

    field:JAVA_OBJECT [NONE]

    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.
    Since:
    1.2
    See Also:
    Constant Field Values

    field:DISTINCT [NONE]

    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.
    Since:
    1.2
    See Also:
    Constant Field Values

    field:STRUCT [NONE]

    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.
    Since:
    1.2
    See Also:
    Constant Field Values

    field:ARRAY [NONE]

    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.
    Since:
    1.2
    See Also:
    Constant Field Values

    field:BLOB [NONE]

    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.
    Since:
    1.2
    See Also:
    Constant Field Values

    field:CLOB [NONE]

    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.
    Since:
    1.2
    See Also:
    Constant Field Values

    field:REF [NONE]

    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.
    Since:
    1.2
    See Also:
    Constant Field Values

    field:DATALINK [NONE]

    DATALINK

    public static final  int DATALINK
    The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type DATALINK.
    Since:
    1.4
    See Also:
    Constant Field Values

    field:BOOLEAN [NONE]

    BOOLEAN

    public static final  int BOOLEAN
    The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type BOOLEAN.
    Since:
    1.4
    See Also:
    Constant Field Values

    field:ROWID [NONE]

    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
    Since:
    1.6
    See Also:
    Constant Field Values

    field:NCHAR [NONE]

    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
    Since:
    1.6
    See Also:
    Constant Field Values

    field:NVARCHAR [NONE]

    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.
    Since:
    1.6
    See Also:
    Constant Field Values

    field:LONGNVARCHAR [NONE]

    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.
    Since:
    1.6
    See Also:
    Constant Field Values

    field:NCLOB [NONE]

    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.
    Since:
    1.6
    See Also:
    Constant Field Values

    field:SQLXML [NONE]

    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.
    Since:
    1.6
    See Also:
    Constant Field Values

    field:REF_CURSOR [NONE]

    REF_CURSOR

    public static final  int REF_CURSOR
    The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type REF CURSOR .
    Since:
    1.8
    See Also:
    Constant Field Values

    field:TIME_WITH_TIMEZONE [NONE]

    TIME_WITH_TIMEZONE

    public static final  int TIME_WITH_TIMEZONE
    The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIME WITH TIMEZONE .
    Since:
    1.8
    See Also:
    Constant Field Values

    field:TIMESTAMP_WITH_TIMEZONE [NONE]

    TIMESTAMP_WITH_TIMEZONE

    public static final  int TIMESTAMP_WITH_TIMEZONE
    The constant in the Java programming language, sometimes referred to as a type code, that identifies the generic SQL type TIMESTAMP WITH TIMEZONE .
    Since:
    1.8
    See Also:
    Constant Field Values

    © 2020 Oracle Corporation and/or its affiliates