Enum JdbcType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<JdbcType>

    public enum JdbcType
    extends java.lang.Enum<JdbcType>
    Author:
    Clinton Begin
    • Enum Constant Detail

      • ARRAY

        public static final JdbcType ARRAY
      • TINYINT

        public static final JdbcType TINYINT
      • SMALLINT

        public static final JdbcType SMALLINT
      • INTEGER

        public static final JdbcType INTEGER
      • BIGINT

        public static final JdbcType BIGINT
      • FLOAT

        public static final JdbcType FLOAT
      • REAL

        public static final JdbcType REAL
      • DOUBLE

        public static final JdbcType DOUBLE
      • NUMERIC

        public static final JdbcType NUMERIC
      • DECIMAL

        public static final JdbcType DECIMAL
      • CHAR

        public static final JdbcType CHAR
      • VARCHAR

        public static final JdbcType VARCHAR
      • LONGVARCHAR

        public static final JdbcType LONGVARCHAR
      • DATE

        public static final JdbcType DATE
      • TIME

        public static final JdbcType TIME
      • TIMESTAMP

        public static final JdbcType TIMESTAMP
      • BINARY

        public static final JdbcType BINARY
      • VARBINARY

        public static final JdbcType VARBINARY
      • LONGVARBINARY

        public static final JdbcType LONGVARBINARY
      • NULL

        public static final JdbcType NULL
      • OTHER

        public static final JdbcType OTHER
      • BLOB

        public static final JdbcType BLOB
      • CLOB

        public static final JdbcType CLOB
      • BOOLEAN

        public static final JdbcType BOOLEAN
      • CURSOR

        public static final JdbcType CURSOR
      • UNDEFINED

        public static final JdbcType UNDEFINED
      • NVARCHAR

        public static final JdbcType NVARCHAR
      • NCHAR

        public static final JdbcType NCHAR
      • NCLOB

        public static final JdbcType NCLOB
      • STRUCT

        public static final JdbcType STRUCT
      • JAVA_OBJECT

        public static final JdbcType JAVA_OBJECT
      • DISTINCT

        public static final JdbcType DISTINCT
      • DATALINK

        public static final JdbcType DATALINK
      • ROWID

        public static final JdbcType ROWID
      • LONGNVARCHAR

        public static final JdbcType LONGNVARCHAR
      • SQLXML

        public static final JdbcType SQLXML
      • DATETIMEOFFSET

        public static final JdbcType DATETIMEOFFSET
      • TIME_WITH_TIMEZONE

        public static final JdbcType TIME_WITH_TIMEZONE
      • TIMESTAMP_WITH_TIMEZONE

        public static final JdbcType TIMESTAMP_WITH_TIMEZONE
    • Field Detail

      • TYPE_CODE

        public final int TYPE_CODE
    • Method Detail

      • values

        public static JdbcType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (JdbcType c : JdbcType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JdbcType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • forCode

        public static JdbcType forCode​(int code)